fix(angular): swipeBackEnabled global config (#16668)

fixes #16624
This commit is contained in:
Manu MA
2018-12-11 01:32:28 +01:00
committed by GitHub
parent 82172b6043
commit d69427eac0
2 changed files with 5 additions and 2 deletions

View File

@ -12,7 +12,7 @@ export function createSwipeBackGesture(
): Gesture {
const win = el.ownerDocument!.defaultView!;
function canStart(detail: GestureDetail) {
return detail.startX <= 5000 && canStartHandler();
return detail.startX <= 50 && canStartHandler();
}
function onMove(detail: GestureDetail) {