github chakra-ui/zag @zag-js/popover@1.40.0

latest releases: @zag-js/number-input@1.40.0, @zag-js/slider@1.40.0, @zag-js/timer@1.40.0...
13 hours ago

Minor Changes

  • a951d16 Thanks
    @segunadebayo! - Add finalFocusEl and restoreFocus props to control focus
    behavior when the popover closes.

    • finalFocusEl: specify an element to receive focus instead of the trigger
    • restoreFocus: set to false to prevent focus from returning to the trigger (default true)

    Both work in modal and non-modal modes.

Patch Changes

  • Updated dependencies []:
    • @zag-js/anatomy@1.40.0
    • @zag-js/core@1.40.0
    • @zag-js/types@1.40.0
    • @zag-js/aria-hidden@1.40.0
    • @zag-js/utils@1.40.0
    • @zag-js/dismissable@1.40.0
    • @zag-js/dom-query@1.40.0
    • @zag-js/focus-trap@1.40.0
    • @zag-js/popper@1.40.0
    • @zag-js/remove-scroll@1.40.0

Don't miss a new zag release

NewReleases is sending notifications on new releases.