Skip to content

@zag-js/menu@2.0.0-next.3

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 14 Sep 01:30
· 0 commits to main since this release
0ce8e3d

Patch Changes

  • #3308
    f2f2900 Thanks
    @github-actions! - Fixed issues when switching between menubar menus by
    arrowing or hovering.

    • Fixed issue where the incoming menu was dismissed by the outgoing one closing. trackDismissableElement now accepts
      a group option that registers layers as peers.
    • Fixed issue where the swap replayed the open and close animations. Positioner and content now set data-instant.
    • Fixed issue where clicking an open menubar trigger did not close its menu.
  • #3308
    5a6c68f Thanks
    @github-actions! - Fixed issue where the arrow was left unpositioned when it
    mounted after the popup or was swapped for another element.

    • Added a getArrowElement option to @zag-js/popper so the arrow is resolved by the machine, and the middleware
      rebuilds when it changes.
  • Updated dependencies [f832098,
    f2f2900,
    5a6c68f]:

    • @zag-js/focus-visible@2.0.0-next.3
    • @zag-js/dismissable@2.0.0-next.3
    • @zag-js/popper@2.0.0-next.3
    • @zag-js/anatomy@2.0.0-next.3
    • @zag-js/core@2.0.0-next.3
    • @zag-js/types@2.0.0-next.3
    • @zag-js/utils@2.0.0-next.3
    • @zag-js/dom-query@2.0.0-next.3
    • @zag-js/rect-utils@2.0.0-next.3