You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
The menu is supposed to be disabled using the MenuController. Despite implementing this.menuCtrl.enable(false) in the appropriate lifecycle hooks (ionViewWillEnter, ngOnInit), the menu remains accessible and can be opened by swiping or clicking the menu button.
Expected Behavior
The menu should be completely disabled, preventing any interaction with it. The menu should not be accessible through swiping or by using the menu button.
Steps to Reproduce
Create a new Ionic Angular application with a side menu.
Create a page where the menu should be disabled.
Implement this.menuCtrl.enable(false) in ionViewWillEnter and ngOnInit within the page
Run the application and navigate to the page.
Observe that the menu is still accessible despite the attempt to disable it.
I see this issue is addressed on ionic 7.5.1 version (#28337)
Anyway I am trying it in latest application with standalone angular project and it doesn't work
The text was updated successfully, but these errors were encountered:
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.
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
The menu is supposed to be disabled using the MenuController. Despite implementing this.menuCtrl.enable(false) in the appropriate lifecycle hooks (ionViewWillEnter, ngOnInit), the menu remains accessible and can be opened by swiping or clicking the menu button.
Expected Behavior
The menu should be completely disabled, preventing any interaction with it. The menu should not be accessible through swiping or by using the menu button.
Steps to Reproduce
Code Reproduction URL
https://github.com/rasheeek/ionic-side-menu
Ionic Info
Ionic:
Ionic CLI : 7.2.0 (/Users/rasheek/.nvm/versions/node/v20.16.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.2.7
@angular-devkit/build-angular : 18.2.2
@angular-devkit/schematics : 18.2.2
@angular/cli : 18.2.2
@ionic/angular-toolkit : 11.0.1
Capacitor:
Capacitor CLI : 6.1.2
@capacitor/android : not installed
@capacitor/core : 6.1.2
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v20.16.0 (/Users/rasheek/.nvm/versions/node/v20.16.0/bin/node)
npm : 10.8.1
OS : macOS Unknown
Additional Information
I see this issue is addressed on ionic 7.5.1 version (#28337)
Anyway I am trying it in latest application with standalone angular project and it doesn't work
The text was updated successfully, but these errors were encountered: