fix(menu): swipe-back has higher priority

fixes #16864
This commit is contained in:
Manu Mtz.-Almeida
2018-12-28 19:00:11 +01:00
committed by Manu MA
parent f9483a0c13
commit f05c59979f
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ export class Menu implements ComponentInterface, MenuI {
el: this.doc,
queue: this.queue,
gestureName: 'menu-swipe',
gesturePriority: 40,
gesturePriority: 30,
threshold: 10,
canStart: ev => this.canStart(ev),
onWillStart: () => this.onWillStart(),

View File

@ -46,7 +46,7 @@ export function createSwipeBackGesture(
el,
queue,
gestureName: 'goback-swipe',
gesturePriority: 30,
gesturePriority: 40,
threshold: 10,
canStart,
onStart: onStartHandler,