Topic: bg-fixed bugs on Chrome and causes lags

NeoXP free asked 1 year ago


Expected behavior I added the bg-fixed feature on my website, when i try the offline version everything is fine, but since my upload it lags, at this region

Check for yourself: The Code is non minifyed yet so i think you can just read it on the website: https://new.senioren-service-js.de/#unternehmen

Thanks alot!


NeoXP free commented 1 year ago

when you use firefox theres no such problem btw


Mateusz Lazaru staff answered 1 year ago


bg-fixed just changes style to background-attachment: fixed;.

The problem of bad performance is known Chrome issue. There are some tricks to fix it:

https://stackoverflow.com/questions/23571578/chrome-issue-with-background-attachment-fixed-and-position-fixed-elements



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 6.0.0
  • Device: Any
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes