All release notes

v1.19.2

3 fixes

Load iOS haptics polyfill on client-side only

  • The ios-vibrator-pro-max polyfill was crashing on server because
  • navigator is not defined in Node.js. Moved to dynamic client-side
  • import to avoid SSR issues.

IOS touch drag and haptics support

  • Fix drag-to-dismiss ref timing issue by attaching listeners directly in ref callback
  • Add ios-vibrator-pro-max polyfill for iOS 18+ haptic feedback support
  • Listeners now attach immediately when element is available (no useEffect timing bug)
  • Haptics now work on both Android (native) and iOS 18+ (polyfill)

Simplify drag-to-dismiss hook to avoid state conflicts

  • Rewrite useBottomSheetDrag to use direct DOM manipulation instead of React state
  • Remove drag handle visual (user preference)
  • Allow drag from anywhere on sheet when content is at scroll top
  • Lower thresholds for easier triggering (100px distance, 0.3 velocity)
  • Prevents re-render issues that were breaking panel data display