Closed
Description
Bug:
What is the expected behavior?
When instantiating multiple dialogs, there should be only one overlay and update it's z-index so that it's over the previous dialog
What is the current behavior?
One overlay is create for each dialog and all of the z-index are always 1 so that it never hides the previous still opened dialog
What are the steps to reproduce?
http://plnkr.co/edit/hQKwfp?p=preview
click open modal 1 on main app + click open modal 2 in opened dialog
- you can still interact with dialog 1
- you see the overlay darken because there are now 2 overlays
What is the use-case or motivation for changing an existing behavior?
- By creating a new overlay for each opened dialog, it darkens then look of the overlay for each on that is opened
- Should not be able to interact with dialog 1 until dialog 2 is closed, currently you can still click on "open modal 2" from dialog 1 which keeps creating dialog 2s and overlay keeps getting darker and darker for each overlay instantiated
Which versions of Angular, Material, OS, browsers are affected?
Material: 2.0.0-alpha.11-3
Angular: All
Is there anything else we should know?
Metadata
Metadata
Assignees
Labels
No labels