Zun
10/15/2022, 10:15 AMSwipeToDismiss
I notice that very quick, short swipes (below thresholds) are triggered. Looking at the source code I am guessing that velocityThreshold
has something to do with this. While slowly trying to dismiss my item and logging dismissState.progress.fraction
, it always dismisses once it reaches my target theshold of 0.2f. However with fast swipes it triggers below that
Can anyone help me fix this? I can not seem to edit that velocityThreshold
value since it's not part of the SwipeToDismiss
composable.Zun
10/15/2022, 10:18 AMjossiwolf
10/15/2022, 12:40 PMjossiwolf
10/17/2022, 9:21 AM