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

前端 未结 8 2102
北海茫月
北海茫月 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:07

    Three things can cause IE 11 flickering/choppy/delay for fixed position element while scrolling:

    1. If you have an "overflow: auto;" on the parent container element, remove it.

    2. Remove background-attachment:fixed; from the fixed position element.

    3. Remove border-radius from the fixed position element (mobile IE only).

提交回复
热议问题