Minor Changes
-
c906c09Thanks
@segunadebayo! - - Adddescriptionanatomy part witharia-describedbysupport
on the content element-
Add
SwipeAreapart for swipe-to-open gestures from screen edges<div {...api.getSwipeAreaProps()} />
-
Add
getDescriptionProps()andgetSwipeAreaProps()to the connect API -
Require intentional swipe movement before showing the drawer (no flash on pointer down)
-
Smooth settle animation from release point to fully open position
-
Add cross-axis scroll preservation to prevent drawer drag when scrolling horizontally
-
Fix swipe-to-dismiss in controlled mode (
open: truewithoutonOpenChangenow blocks dismiss) -
Set
pointer-events: noneon positioner in non-modal mode so the page stays interactive -
Add initial focus management for non-modal mode
-
Patch Changes
- Updated dependencies [
4a395ad]:- @zag-js/dom-query@1.38.0
- @zag-js/focus-trap@1.38.0
- @zag-js/core@1.38.0
- @zag-js/aria-hidden@1.38.0
- @zag-js/dismissable@1.38.0
- @zag-js/remove-scroll@1.38.0
- @zag-js/anatomy@1.38.0
- @zag-js/types@1.38.0
- @zag-js/utils@1.38.0