Closed maisnamraju closed 7 years ago
Sometimes this can happen when you have nested overlays, but I'm not sure what your overall code looks like. Can you create a live demo that reproduces the issue, perhaps using jsbin or plunker?
I have this issue when using paper-date-picker inside a PSK view.
This is an issue with the stacking context, it's created by using the paper-dialog within something that creates a new stacking context, there's a very extensive write-up on this issue with a proposed solution in the next CSS spec somewhere, however for us it means don't use this inside of elements like <app-header-layout>
until they create a work-around that solves the issue for us.
What I tend to do is have an element fire an event when I want a modal open-date-picker
for example then have the root of my app (app-shell) capture that event and launch the dialog there, outside of the stacking context.
For more information on stacking contexts: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context
I am having issues with the grey background covering the datepicker part
Here is what it looks like
Am I doing something wrong here ?