-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: No Sidemenu on modal page #7586
Comments
Hello! Thanks for opening an issue with us. So one of the main reasons we changed to our new overlay components api is that it matches native closer. In a native app with a sidemenu and modals (twitter for android, inbox by google are perfect examples) the sidemenu is not accessible from a modal. Because of this i would recommend either that you consider changing from using a modal to a page so that your user will still have access to the sidemenu or rethink the need for the user to have to use the sidemenu while in the modal. Sorry if this causes any hassle for you, but these changes were necessary to keep Ionic 2 more in line with native and what mobile users expect. Thanks for using Ionic! |
@jgw96 thanx for clarification. |
Type: bug
Ionic Version: 2.x
Platform: all
Up to beta10 there was the possibility to present a modal page like this:
Why modal? Because of retrieving mandatory data from the modal page.
Problem: The ModalPage used the sidemenu of the app - up to beta10. In beta11 the sidemenu does not open anymore.
Meaning it opens but behind the modal page - which is an overlay now.
In beta 11 the nav.present() method is gone and got replaced by the (Modal)Controller.present().
For navigation is is required to use a sidemenu on a modal page. It is necessary to navigate from a modal page to a subpage via the sidemenu and navigate back to the modalpage which is dismissed then.
Therefore I consider taking away the nav.present() method as a bad idea - knowing why and for what intention you did that.
The text was updated successfully, but these errors were encountered: