react-spring-lightbox icon indicating copy to clipboard operation
react-spring-lightbox copied to clipboard

Move velocity and min drag distance to props

Open tim-kozak opened this issue 4 years ago • 5 comments

It would be great to make this configurable. Because in some cases it requires a bit more effort to slide than expected. Screenshot 2021-02-23 at 09 55 58

tim-kozak avatar Feb 23 '21 08:02 tim-kozak

The thresholds are certainly something we could make configurable, although maybe there is a better way to gauge swipe/drag intent

tim-soft avatar Feb 23 '21 17:02 tim-soft

Sounds great! Thanks for your awesome work.

tim-kozak avatar Feb 23 '21 17:02 tim-kozak

@tim-soft I also thought about adding swipe bottom-to-top to dismiss would be very UX friendly.

tim-kozak avatar Feb 24 '21 13:02 tim-kozak

this is actually something I've been thinking about lately, since native iOS/Android slideshows tend to work this way

can you make a separate issue to track the feature request?

tim-soft avatar Feb 24 '21 16:02 tim-soft

@tim-soft for sure

tim-kozak avatar Mar 09 '21 06:03 tim-kozak