Google Chrome not respecting z-index

后端 未结 6 1435
后悔当初
后悔当初 2020-12-31 01:06

As per the title, it seems only Chrome isn\'t playign along. Note that form fields cannot be clicked on which are on the left portion of the screen. This only occurs on some

6条回答
  •  醉梦人生
    2020-12-31 01:29

    I had a weird issue with zIndex on Chrome and I kept fiddling with the position attribute to see if anything worked. But, it didn't. Turns out, in my case, the issue was with the transform attribute. So, if you have a transform attribute in place, disable it and it should be fine. Other browsers work fine with stuff like that, but Chrome seems to play it differently.

    Hope this helped you.

提交回复
热议问题