-
Notifications
You must be signed in to change notification settings - Fork 41
modal paper-dialog wrongly shown when inside a drawer #44
Comments
I'm having the same issue. I tried placing the |
An interesting detail: this bug is present in latest versions of Chrome (46.0.2490.71) and Firefox (41.0.2), but the dialog works normally in Microsoft Edge and IE (tested on 11 and 10). |
+1 |
+1 |
Any updates on this? |
This is not caused by the In the meantime, consider moving your |
After further debugging, i discovered that the css property |
|
This issue is caused by the way stacking contexts work, and is a known limitation of tl;dr All overlays implementing In this specific case, the css property |
@valdrinkoshi ok, now it's clear to me what's happening. Many thanks for the time spent to investigate on that. |
Fixes PolymerElements/paper-dialog#7 Fixes Polymer/polymer-starter-kit#154 Fixes (maybe) PolymerElements/paper-dialog#79 Fixes (maybe) PolymerElements/paper-dialog#44 Fixes (maybe) PolymerElements/paper-drawer-panel#122 Related to PolymerElements#72 Related to PolymerElements#86 Related to https://github.com/PolymerElements/iron-overlay-behavior/compare/backdrop-refit Fixes (maybe) PolymerElements/paper-dialog-behavior#78 Fixes PolymerElements/app-layout#155
+1 |
I see many many closing tags, but the issue it still active for me... |
If you have a modal
paper-dialog
inside thedrawer
of apaper-drawer-panel
, when thedrawer
is innarrow
state thedialog
is shown under the overlay:The overlay is correct if the drawer is not narrow:
Also, note that the
paper-dialog
sizing is wrong when the drawer is narrow.Obviously this can be solved by moving the
paper-dialog
tag outside of the drawer, but this is still a bug, in my opinion, because there are cases when this complicates the code, for example if you need to usepaper-dialog
inside an element that should be positioned in the drawer.The text was updated successfully, but these errors were encountered: