Odd crash with opacity / bootstrap modal

A few days ago, users started reporting some odd graphical glitches with a modal background. I saw this on several devices and could not get to the end - through the inspector I see that the opacity creates a glitch, but it seems very unusual. Also, sometimes after switching tabs and switching to the original, the glitch no longer exists.

Thoughts? Has anyone encountered anything similar before? (Please ignore the red strikethroughs)

enter image description here

+4
source share
4 answers

Chrome 61. , rgba (0,0,0,0,5). , rgba IE8, , .

+1

,

.modal-backdrop {
  opacity: 1 !important;
  background-color: rgba(0,0,0,0.5) !important;
}
+1

( /) ( Chrome 61). Chrome. , , .

0

/ bootstrap fade

, , .

.modal-content {
    background-clip: padding-box;
    border: none;
}

0

Source: https://habr.com/ru/post/1686624/


All Articles