fixed positioned element flicker in IE only, how to solve?

前端 未结 8 2117
北海茫月
北海茫月 2020-12-31 07:53

Weird problem in IE11, the fixed background of the following project flickers when using mousewheel or cursor keys only. This is a bug, for sure.

website: http://ge

8条回答
  •  情书的邮戳
    2020-12-31 08:08

    We can remove grey flicker on IE9, IE10, IE11, MEdge<=20 by setting overflow of html and body like

    html{
      overflow: hidden;
      height: 100%;    
    }
    
    body{
      overflow: auto;
      height: 100%;
    }
    

提交回复
热议问题