Breaking Changes
- Replaced
@vueuse/motionand@vueuse/gesturewithmotion-v - Renamed
canOverlayCloseprop tocanBackdropClosefor clarity and consistency - Removed
max-heightevent since percentage-based snap points now provide this functionality (use "50%" instead of maxHeight/2) - Renamed
min-heightevent toinstinctHeightfor better semantic meaning - Removed
@readyevent, instead use@vue:mounted - Modified snapToPoint method to only accept index of snapPoint (no longer accepts height values)
New Features
- Added support for percentage-based snap points (e.g., "80%") relative to window size
Improvements
- Implemented conditional DOM rendering
- Enhanced touch handling for smoother interactions
- Optimized scrolling behavior when dragging content
Bug Fixes
- Fixed issues with sheet height calculations on
instinctHeight(minHeight) - Corrected scroll behavior when at the top of content
- Fixed shadow-related performance issues in non-blocking mode
- Fixed issue where drag gestures weren't properly detected after scrolling content to the top
Other Changes
- Updated documentation
- Updated playground
- Added performance optimizations for smoother animations