Closed dgrubelic closed 8 years ago
Dialog windows are always rendered on top of entire page content, so if date picker is appended to body (in order to behave well with other MDL components like Layout), fixed date picker is always rendered behind modal dialog window.
This can be solved by using .show()
instead of .showModal()
and then adjusting the css a bit to center the dialog vertically. I'm using pikaday but the issue should be same.
I'll try this solution and see how it goes. Thanks for suggestion. :)
The problem is that native dialogs are rendered on top of everything. But with .show()
it's added to body.
Yes, but that way i must add backdrop element manually which is not what is required behaviour.
Should investigate this, but it seams that now fixed date picker can't be shown inside dialog as it appears behind mdl dialog window.