Skip to content

Commit f05c599

Browse files
committed
fix(menu): swipe-back has higher priority
fixes #16864
1 parent f9483a0 commit f05c599

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/components/menu/menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export class Menu implements ComponentInterface, MenuI {
178178
el: this.doc,
179179
queue: this.queue,
180180
gestureName: 'menu-swipe',
181-
gesturePriority: 40,
181+
gesturePriority: 30,
182182
threshold: 10,
183183
canStart: ev => this.canStart(ev),
184184
onWillStart: () => this.onWillStart(),

core/src/utils/gesture/swipe-back.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function createSwipeBackGesture(
4646
el,
4747
queue,
4848
gestureName: 'goback-swipe',
49-
gesturePriority: 30,
49+
gesturePriority: 40,
5050
threshold: 10,
5151
canStart,
5252
onStart: onStartHandler,

0 commit comments

Comments
 (0)