You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Tooltip component only outputs the tooltip text, and does not work by itself unless the user manually places it inside a couple of wrapper divs with mandatory classes:
The styling within the Tooltip component relies on the specific classes of those wrapper divs in order to show on hover, along with some element to trigger the tooltip. This requires a lot of manual work for the user, and I think this would work better if those wrapper divs were also included in the component, and offered slots for both the tooltip and the trigger element (button, link, etc.).
We would also need to make sure the ID of the tooltip matches the aria-describedby attribute of the trigger element for accessibility purposes.
The text was updated successfully, but these errors were encountered:
The Tooltip component only outputs the tooltip text, and does not work by itself unless the user manually places it inside a couple of wrapper divs with mandatory classes:
The styling within the Tooltip component relies on the specific classes of those wrapper divs in order to show on hover, along with some element to trigger the tooltip. This requires a lot of manual work for the user, and I think this would work better if those wrapper divs were also included in the component, and offered slots for both the tooltip and the trigger element (button, link, etc.).
We would also need to make sure the ID of the tooltip matches the
aria-describedby
attribute of the trigger element for accessibility purposes.The text was updated successfully, but these errors were encountered: