Material-design-lite: Dialog zIndex

Created on 2 Mar 2017  路  3Comments  路  Source: google/material-design-lite

Why does tooltip or spinner doesn't show up on top of dialog? Tried varying z-Indexes.

Can any element be placed on top of dialog?

Most helpful comment

The spinner should go inside of the dialog. Anything outside is overlayed by the backdrop as per the specification on HTML Dialog Elements (and MD dialogs to boot.)

All 3 comments

They can be placed in a dialog but cannot overlay it. That's the whole purpose of the <dialog> element

for eg. -
If action button of dialog triggers an event, we are loading a spinner by the time we receive some resposne. This spinner is getting hidden behind the dialog.

The spinner should go inside of the dialog. Anything outside is overlayed by the backdrop as per the specification on HTML Dialog Elements (and MD dialogs to boot.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tleunen picture tleunen  路  5Comments

lgg picture lgg  路  3Comments

samuelcarreira picture samuelcarreira  路  4Comments

an0nh4x0r picture an0nh4x0r  路  3Comments

ktodyruik picture ktodyruik  路  5Comments