question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: ion-menu swipe works even if the menu is disabled.

See original GitHub issue

Bug Report

Ionic version:

[x] 4.x

Current behavior: When disabling ion-menu, swipe gesture still works.

Expected behavior: on disabling ion-menu it should ignore swipe gestures by default.

Steps to reproduce: this.menuController.enable(false); try to swipe the menu it will still show.

Related code:

insert short code snippets here

Other information:

Ionic info:

insert the output from ionic info here

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
blahblehblahcommented, Apr 7, 2020

Actually after looking through one of the dev’s code, there was an issue in enabling it again, i am sorry, sorry for your time. thank you

0reactions
ionitron-bot[bot]commented, May 7, 2020

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ion-menu off-menu click doesn't close menu - Ionic Framework
Hey, I just created a new app with side-menu template, and I encountered a problem that closing the sidemen is only done by...
Read more >
IONIC 4 ion-menu Menu ERROR when opening closing
After logout I was redirecting to login page and disabling menu (to prevent open it with swipe gesture). Then, when I login again, ......
Read more >
I Finally Understand Ionic Menu Types - WalkingRiver.com
Other choices are push , which causes the page content to slide with the menu. As with overlay , the menu still slides...
Read more >
Multiple Side Menus With Ionic Tab Bar - YouTube
In this Quick Win we will integrate multiple side menus into an Ionic Tab Bar interface! Learn Ionic faster with the...
Read more >
How to dynamically show an ion-menu in Ionic 4 - Jordan Benge
This article builds upon a previous one I wrote about Hiding & Showing Tabs on certain pages, within an Ionic 4 app. Instead...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found