Hey all,
I think this is a bug, or maybe my React knowledge isn’t up to snuff.
Looking at this Tooltip Example here:
import { Tooltip, Button } from "@airtable/blocks/ui";
const tooltipExample = (
<Tooltip
content="Notifications"
placementX={Tooltip.placements.CENTER}
placementY={Tooltip.placements.BOTTOM}
shouldHideTooltipOnClick={true}
>
<Button icon="bell" aria-label="Notifications" />
</Tooltip>
);
When I add a “disabled={true}” property to the button in the above example, the tooltip no longer renders.
This is unfortunate because my main use-case for a tooltip was to indicate why a button was disabled.
Am I missing something? If it is a bug, do you think it can be fixed before next weekend, or should I code around it?