If you can block modal dialog with z-index?

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
Good day!

I make the preloader wait for completion handler of the button click. The button is in a modal window.
Page created translucent div block that when clicked should cover the entire page and not allow to do anything, and at the end of the event handler, to return to the zero layer.

To implement this I thought changing the z-index. But the problem is that when setting the class loading for the block preloader - modal form remains on top and active. Tell me how can I implement a preloader or how else can you lock the form?

.loading {position: fixed;display: block;top: 0;left: 0;width: 100%;height: 100%;z-index: 1000;background-color:black;opacity:0.3;}
by | 19 views

1 Answer

0 like 0 dislike
Just looking at all the z-index of modelki and put on 1 more.
Or worst case: z-index: 99999; But for such in a decent society is possible in the nose to get.

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked May 21, 2019 by Wind2211
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
asked Apr 13, 2019 by MegaPuxapb
110,608 questions
257,187 answers
40,796 users