StackedRouter: increse swipe to back detection
All checks were successful
/ depoly (push) Successful in 1m26s
All checks were successful
/ depoly (push) Successful in 1m26s
This commit is contained in:
parent
81325e2b22
commit
840ad2cf00
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ const StackedRouter: Component<StackedRouterProps> = (oprops) => {
|
|||
}
|
||||
const [fig0] = event.touches;
|
||||
const { x, width } = event.currentTarget.getBoundingClientRect();
|
||||
if (fig0.clientX < x - 22 || fig0.clientX > x + 22) {
|
||||
if (fig0.clientX < (x - 44) || fig0.clientX > (x + 44)) {
|
||||
return;
|
||||
}
|
||||
origX = x;
|
||||
|
|
Loading…
Reference in a new issue