Skip to content

Commit

Permalink
fix(menu): clicking the backdrop/content closes the menu
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Nov 29, 2016
1 parent bc1d7ad commit eafd13f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/menu/menu-gestures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class MenuContentGesture extends SlideEdgeGesture {
super(contentEle, assign({
direction: 'x',
edge: menu.side,
threshold: 0,
threshold: 5,
maxEdgeStart: menu.maxEdgeStart || 50,
zone: false,
passive: true,
Expand Down
2 changes: 1 addition & 1 deletion src/navigation/swipe-back.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class SwipeBackGesture extends SlideEdgeGesture {
direction: 'x',
maxEdgeStart: 75,
zone: false,
threshold: 0,
threshold: 5,
debouncer: new NativeRafDebouncer(),
gesture: gestureCtlr.createGesture({
name: GESTURE_GO_BACK_SWIPE,
Expand Down

0 comments on commit eafd13f

Please sign in to comment.