question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ScrollSync lag canvas hack no longer working in latest Chrome

See original GitHub issue

Up until recently I was successfully using the <canvas /> hack (https://github.com/bvaughn/react-virtualized/issues/291#issuecomment-234933425) to avoid ScrollSync lag when layering and synchronising multiple Grid components.

Now with the latest release of Chrome (v61.0.3163.100) I am finding the this is no longer working. You can see in the following gif that mousewheel scroll is laggy but dragging the scrollbar results in smooth animation.

2017-10-04 16 46 23

I know there was plenty of discussion about different methods for avoiding this lag in the past but I’m just wondering if there is anything else that I can try to avoid this lag? It basically renders the app unviable for production use.

Thanks 😃

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
symbytecommented, Oct 19, 2017

If any that is experiencing this happens to be working with an electron app, you can disable threaded scrolling by having the following in your main electron entrypoint (as early in the file as possible)

app.commandLine.appendSwitch('disable-threaded-scrolling', '1');

as a workaround for now.

0reactions
bvaughncommented, Oct 14, 2017

Seems like the workarounds I mentioned earlier no longer work then. Unfortunately I don’t have any further ideas at this point.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ScrollSync lag canvas hack no longer working in latest Chrome
ScrollSync lag canvas hack no longer working in latest Chrome ... Up until recently I was successfully using the <canvas /> hack (https://github....
Read more >
Take control of your scroll - customizing pull-to-refresh and ...
When they reach the bottom, the overflow container stops scrolling because there's no more content to consume. In other words, the user ...
Read more >
Sitemap - LambdaTest
... https://www.lambdatest.com/blog/24-testing-scenarios-you-should-not-automate-using- ... https://www.lambdatest.com/test-on-chrome-83-browser-online ...
Read more >
mozilla-central: changeset 133600 ...
If a copy of the MPL was not distributed with this * file, You can obtain one ... do some work that we...
Read more >
Dragging content of overflow div scrolls in both Safari and ...
It worked for me in both cases in chrome as long as my cursor stayed within the container element. But in firefox, I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found