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
Maybe i missed something but if i try to put a modal paper-dialog in another component, i can see the overlay over the modal.
The overlay is add to the document.body with a z-index of 102.
The paper-dialog has a z-index to 103 but because it is add inside another component, it still appear under the overlay. This is coherent but i wonder how i can use a modal dialog inside a custom element.
The text was updated successfully, but these errors were encountered:
Hi @cbalit, the iron-overlay-backdrop is added to body (the one with z-index 102), and its job is to prevent interactions with the rest of the ui, just with the overlay (in your case paper-dialog).
If you are not able to interact with the paper-dialog because the iron-overlay-backdrop is on top of it, it means you inserted the paper-dialog inside an element that creates a new stacking context, something like this.
This is a known limitation mentioned in the iron-overlay-behavior documentation:
You must ensure no element has a stacking context with a higher z-index than its parent stacking context. You should place this element as a child of <body> whenever possible.
Maybe i missed something but if i try to put a modal paper-dialog in another component, i can see the overlay over the modal.
The overlay is add to the document.body with a z-index of 102.
The paper-dialog has a z-index to 103 but because it is add inside another component, it still appear under the overlay. This is coherent but i wonder how i can use a modal dialog inside a custom element.
The text was updated successfully, but these errors were encountered: