Minor Changes
b29ba49Thanks
@segunadebayo! - AddthumbCollisionBehaviorprop to control how thumbs behave
when they collide during pointer interactions:none(default): Thumbs cannot move past each other; excess movement is ignored.push: Thumbs push each other without restoring their previous positions when dragged back.swap: Thumbs swap places when dragged past each other.
Patch Changes
-
14ce903Thanks
@segunadebayo! - Fix pointer movement when dragging slider thumb from its edge in
thumbAlignment="contain"mode.The value calculation now correctly accounts for thumb inset, ensuring consistent behavior when:
- Clicking on the track to set a value
- Dragging the thumb from any position (center, left edge, or right edge)
-
Updated dependencies []:
- @zag-js/anatomy@1.33.0
- @zag-js/core@1.33.0
- @zag-js/types@1.33.0
- @zag-js/utils@1.33.0
- @zag-js/dom-query@1.33.0