Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low frame rate when scrolling on large screens #1394

Closed
rpkilby opened this issue Jan 27, 2018 · 1 comment
Closed

Low frame rate when scrolling on large screens #1394

rpkilby opened this issue Jan 27, 2018 · 1 comment

Comments

@rpkilby
Copy link

rpkilby commented Jan 27, 2018

Scrolling the docs on a large screen (2560x1440) has a very noticeable impact on frame rate (drops to between 10 and 20 fps). This is due to using background-attachment: fixed for the body's background image. Disabling that property fixes the issue. Of course, that also disables the fixed background.

There is a solution presented in this article, but it's not clear to me how to adapt this to a background for the entire body.

@yeraydiazdiaz
Copy link
Contributor

Hi @rpkilby, thanks for reporting this, I made a quick stab at implementing your suggested solution but I can't test it myself on big screen, any chance you could test it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants