Major Changes
-
#3342
3f83a21Thanks
@github-actions! - - Breaking: Report a menu's real close reason in the
menu:closeevent, using the same names as the menu, such asescape-keyorinteract-outside. Moving to a sibling
menu with the arrow keys is nowsibling-open, like hovering to it.// before if (reason === "list-navigation" || reason === "escape") { } // after if (reason === "sibling-open" || reason === "escape-key") { }
Patch Changes
- #3342
730ea29Thanks
@github-actions! - - Fix focus, scroll and sync work scheduled for the next
frame running after the component unmounts. - Updated dependencies [
a80b307]:- @zag-js/dom-query@2.0.0-next.4
- @zag-js/core@2.0.0-next.4
- @zag-js/anatomy@2.0.0-next.4
- @zag-js/types@2.0.0-next.4
- @zag-js/utils@2.0.0-next.4