Patch Changes
-
#3304
2859ef6Thanks
@segunadebayo! - ApplytrapFocus,preventScrollandmodalwhile the dialog or
drawer is open, andmodalwhile the popover is open. They were read once on entry, so the only way to change them
was a remount, which is unusable for content that cannot be recreated such as media playback or a running timer.Releasing the focus trap no longer pulls focus back to the trigger. Focus is restored only when the component closes.
trapFocus()forwards deactivate options to make this possible. -
Updated dependencies [
2668edc,
06ddeb3,
2859ef6]:- @zag-js/dom-query@2.0.0-next.2