dijit confirm dialog appears behind other elements

1213
3
02-22-2017 10:02 AM
Alexwang
Occasional Contributor II

Hi all, I have a dijit confirm dialog so it pops up when a user is going to delete something. The issue was that the confirm dialog always appeared behind a tooltip dialog. Please see screenshot below. Is there a way to let the confirm dialog always appears on the top. I tried z-index but the confirm dialog doesn't seem to have a z-index attribute. Any suggestions?

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Alex,

   If you say that it does not have a z-index then you have to give it one.

0 Kudos
Alexwang
Occasional Contributor II

Thank you Robert. It gave me a creating widget error when i added the z-index to the Confirm Dialog constructor. 

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Alex,

   No you do not place a css property like z-index in the constructor you place it in the style.

0 Kudos