Skip to content

Release 5.1.0

Choose a tag to compare

@antonbobrov antonbobrov released this 15 Oct 08:19
· 202 commits to master since this release

5.1.0 (2025-10-15)

Cursor

  • fix animation start on enter & leave (8427330)

inRange

Module

  • skip undefined when merging props (c27d1d0)

onResize

  • use width viewport target by default (66f72fb)

Pointers

Snap

  • friction default value is 0 (1344ee7)
  • add freemode: sticky (eef91d8)
  • add getNearestMagnet method (9503c8e)
  • add isSwiping state (801894c)
  • add swipeInertiaStart, swipeInertiaEnd, swipeInertiaCancel & swipeInertiaFail callbacks (13081d9)
  • better interpolation of track values (1abde41)
  • better wheel logic; remove wheelNoFollowThreshold & add stickOnWheelEndThreshold (e38dc2d)
  • end short swipe without inertia when freemode is sticky (89ec054)
  • reveal render method (1034c7e)
  • update transition props, add easing, onStart, onUpdate, onEnd (f28d5c4)

Swipe

  • add inertiaDistanceThreshold (ac00113)
  • add inertiaFail & inertiaCancel callbacks (1fae9b6)

toPixels