Skip to content

v2.0.0

Choose a tag to compare

@megaarmos megaarmos released this 29 Mar 04:25
· 59 commits to master since this release

Breaking Changes

  • Replaced @vueuse/motion and @vueuse/gesture with motion-v
  • Renamed canOverlayClose prop to canBackdropClose for clarity and consistency
  • Removed max-height event since percentage-based snap points now provide this functionality (use "50%" instead of maxHeight/2)
  • Renamed min-height event to instinctHeight for better semantic meaning
  • Removed @ready event, 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