akshathjain / sliding_up_panel

A draggable Flutter widget that makes implementing a SlidingUpPanel much easier!
https://pub.dartlang.org/packages/sliding_up_panel
Other
1.36k stars 377 forks source link

[Suggestion] Make snapping have more "tolerance" for user gestures #333

Open jasminvucelj opened 1 year ago

jasminvucelj commented 1 year ago

Currently the snap feature is quite hard to use because of how sensitive it is, it's very easy to "overshoot" the snap point into either extreme unless the user is being extra careful with his drags (which is not really something you can expect as a dev). Not sure how this would be doable, maybe increase some y axis tolerance around the snap point, or increase some velocity threshold for skipping over it. Anything would be welcome, as the feature is not particularly usable in its current state.