chore(transition): update swipe back duration (#19148)

This commit is contained in:
Liam DeBeasi
2019-08-21 10:09:40 -04:00
committed by GitHub
parent 3b51f8f27c
commit e0fa4a5276

View File

@@ -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);