Chrome issue with background-attachment fixed and position fixed elements

前端 未结 8 1574
情话喂你
情话喂你 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条回答
  • 2020-12-02 09:37

    This problem usually appears because of HTML5 video. Just wrap it in dom element with styling rules position: relative; and overflow:hidden; This will fix everything in all browsers!

    0 讨论(0)
  • 2020-12-02 09:38

    I've found solution from https://www.fourkitchens.com/blog/article/fix-scrolling-performance-css-will-change-property/

    In my case, just give this property into the fixed background's div.

    will-change : transform;
    
    0 讨论(0)
提交回复
热议问题