Chrome issue with background-attachment fixed and position fixed elements

前端 未结 8 1614
情话喂你
情话喂你 2020-12-02 08:46

I\'ve had this issue for a while and it seems to be a Chrome redraw bug that hasn\'t been fixed. So I\'m looking for any stop-gap fixes.

The main issue is that when a

8条回答
  •  Happy的楠姐
    2020-12-02 09:35

    As seen on this great pen by Raphael Rychetsky, translate3d may be the troublemaker.

    If you use transform: translate3d(0,0,0), try replacing it by transform: translate(0,0) and it should do the trick. At least it worked for me.

提交回复
热议问题