Patch Changes
-
cfb5874Thanks
@segunadebayo! - Fixed issue where there was no way to open a dialog without moving
focus.initialFocusElcan now returnfalseto skip moving focus. Returningnulluses the default.- Fixed issue where the popover's
autoFocus={false}was ignored for modal popovers.
const service = useMachine(dialog.machine, { initialFocusEl: () => false, })
-
Updated dependencies [
cfb5874,
a125167,
647e225]:- @zag-js/dom-query@1.45.0
- @zag-js/utils@1.45.0
- @zag-js/core@1.45.0
- @zag-js/aria-hidden@1.45.0
- @zag-js/dismissable@1.45.0
- @zag-js/focus-trap@1.45.0
- @zag-js/remove-scroll@1.45.0
- @zag-js/anatomy@1.45.0
- @zag-js/types@1.45.0