swipe icon indicating copy to clipboard operation
swipe copied to clipboard

Add Option (swipeMaxDistance) to limit swiping distance

Open cy745 opened this issue 1 year ago • 0 comments

Add swipeMaxDistance and swipeFrictionEasing, swipeMaxDistance to limit distance, swipeFrictionEasing to control friction effect.

There is a problem that i have no idea how to deal with the side that has multiple actions, maybe set swipeMaxDistancePx to the totalWidth for visibleAction?

preview:

https://github.com/saket/swipe/assets/35896157/39c3a6d2-64dd-4afa-a4c8-d5463e4d4a3a

cy745 avatar Mar 07 '24 02:03 cy745