Minor Changes
-
a951d16Thanks
@segunadebayo! - AddfinalFocusElandrestoreFocusprops to control focus
behavior when the popover closes.finalFocusEl: specify an element to receive focus instead of the triggerrestoreFocus: set tofalseto prevent focus from returning to the trigger (defaulttrue)
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