Bootstrap Modal popping up but has a “tinted” page and can't interact

后端 未结 9 1805
南笙
南笙 2020-12-08 05:18

I am using bootstrap to set up a modal popup. When a button is clicked, the modal dialog opens, but the entire page is slightly \"tinted\", and I can\'t interact with the m

9条回答
  •  孤街浪徒
    2020-12-08 05:40

    I found a good fix for this problem here:

    https://stackoverflow.com/a/18764086

    Add -webkit-transform: translateZ(0) to the position: fixed element. This forces Chrome to use hardware acceleration to continuously paint the fixed element and avoid this bizarre behavior.

提交回复
热议问题