-
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
fix(menu): fix z-index issue #7462
Conversation
I'm not able to reproduce this in the demo in the docs. Are you still seeing this issue? |
Yes I just replicated on Chrome 52 with an uncached version of the docs. |
Replicated on Firefox 47.0.1 (Windows 7). Steps:
|
Any updates on this please? |
Hello @michaelgeorgeattard Unfortunately we cannot seem to be able to reproduce on Chrome 53 (the latest stable) or firefox. If you could find a way to be able to reproduce this consistently in the first few times the menu is opened that would be great! Thanks! |
@jgw96 I was able to reproduce the bug using Chrome 53. I made a recording : https://youtu.be/OgcEcHI6g80 You can start the video at 1 minute. |
@jgw96 it might not be the same error, in the video the content is the one that gets black. I think the bug reported by @michaelgeorgeattard is not the same reported by @MiniGab |
This bug was already fixed in RC0. z-index never gets to 0 |
Short description of what this resolves:
When setRoot is called with options.direction === "back" (default), the zIndex of the view is reduced by 1. When the zIndex reaches -1, this is reset to 100.
However a zIndex of 0 breaks the application by hiding the view.
Can be replicated on http://ionicframework.com/docs/v2/components/#menus.
Changes proposed in this pull request:
Ionic Version: 2.x