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
Base role="dialog" on focusable content elements in addition to contentActions (#239) (8dc08b8)
Features
Add onPlacementChange callback when tooltip auto-flips position (#237) (cd5bb15)
Add portal prop to render tooltip into document.body (#233) (f47e90c)
Allow touch events in showOn/hideOn with passive listeners (#238) (ac97dc6)
Pass triggering Event to onEnter and onLeave callbacks (#240) (670a367)
BREAKING CHANGES
role="dialog", aria-haspopup, aria-expanded, and the
focus trap are now applied only when contentActions is set AND the
template content contains at least one focusable element (button, a,
input…). Previously, contentActions alone was sufficient. Add a
focusable element to the template content to restore dialog semantics.
The tooltip is now rendered into document.body with
position: fixed by default (portal: true). Any CSS selector targeting
.target > .tooltip will break. Set portal: false to restore the pre-v4
behavior where the tooltip is a direct child of the target element.