I use the div owerlay to dim the screen during a popup message.
I click on the button, a message appears, the screen is dark. Close the message. I press the button again, the message appears, and the screen does not darken!
And if you press the right button and select " View element code " in the drop-down list, the blackout appears abruptly. It appears the same way, I look through the code in the html page in the inspector and just use the mouse to navigate the html tree.
Moreover, a div appears, a click is placed on it and it works. It seems that the browser does not draw blackout))
What it is? How to fix this oddity?
I use the Google Chrome browser . PS Checked in the mozilla , everything is ok.