Skip to content

@zag-js/menu@1.47.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 21:59
· 1 commit to main since this release
7a415c9

Minor Changes

  • 94fbd51 Thanks
    @segunadebayo! - - Add modifiers to the navigate and onSelect details.
    • Fix Cmd/Ctrl/Shift/Alt+Enter on link items not opening the link like a modifier-click.
    • Call onSelect and close the menu when Enter is pressed on a link item.
    • Fix the aria-label prop not naming the menu.
    • Fix controlled submenus opening after the pointer leaves their trigger, and controlled context menus opening on a
      short tap.
    • Fix a pending scroll to the highlighted item running after the menu closes.
    • Fix focus being lost after pressing Escape right after an arrow key.
    • Fix Escape not closing the menu right after it opens.

Patch Changes

  • Updated dependencies [d597306,
    94fbd51,
    81992a5,
    b8c35b6]:
    • @zag-js/dismissable@1.47.0
    • @zag-js/dom-query@1.47.0
    • @zag-js/focus-visible@1.47.0
    • @zag-js/popper@1.47.0
    • @zag-js/core@1.47.0
    • @zag-js/anatomy@1.47.0
    • @zag-js/types@1.47.0
    • @zag-js/utils@1.47.0
    • @zag-js/rect-utils@1.47.0