mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(transition): update swipe back duration (#19148)
This commit is contained in:
@@ -34,7 +34,7 @@ export const createSwipeBackGesture = (
|
||||
let realDur = 0;
|
||||
if (missingDistance > 5) {
|
||||
const dur = missingDistance / Math.abs(velocity);
|
||||
realDur = Math.min(dur, 300);
|
||||
realDur = Math.min(dur, 540);
|
||||
}
|
||||
|
||||
onEndHandler(shouldComplete, stepValue, realDur);
|
||||
|
||||
Reference in New Issue
Block a user