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.

Scroll performance issues in Firefox

See original GitHub issue

I’m using the classic combo of CellMeasurer and Grid to do some fancy infinite scrolling. Everything looks/works great in chrome but I’ve noticed some serious performance issues in Firefox. At first I thought it was just my implementation or that I was re-rendering too often but then I noticed this warning:

This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects for further details and to join the discussion on related tools and features!

Turns out the demo here http://bvaughn.github.io/react-virtualized/#/components/CellMeasurer actually suffers from the same performance issues and has the same warning:

screenshot 2016-12-29 11 25 47

The uniform width and height demo is particularly glitchy fwiw.

Anyone dealt with this before?

*FF Version: 50.1.0

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:29 (12 by maintainers)

github_iconTop GitHub Comments

10reactions
rickychiencommented, Mar 11, 2017

I ran into this issue after adopting react-virtualized as well. The root cause could be due to APZ (Async Panning and Zooming).

A simple way to verify:

  1. Visit about:config in Firefox
  2. Search layers.async-pan-zoom.enable and set it to false
  3. Restart browser
  4. Run example https://bvaughn.github.io/react-virtualized/#/components/Grid

Bug has reported, please see https://bugzilla.mozilla.org/show_bug.cgi?id=1346159

3reactions
bvaughncommented, Jan 7, 2017

Hey @zsherman,

Thanks for the detailed report! I haven’t been ignoring it (despite my lack of a response) I’ve just been busy. It seems legit and I’ll try to look into it when I can find/make time. Just wanted to leave a note to say that I appreciate the level of detail, and I am at least aware of the issue. 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is scrolling performance so bad in Firefox? - Reddit
The basic problem is that a lot of the code for scrolling and rendering web pages is still running on the main thread,...
Read more >
How do I fix slow scrolling, it is getting really annoying!
Type about:config in the URL and filter general.smoothScroll.mouseWheel.durationMaxMS change the value as 1000 and try it. If, it doesn't work ...
Read more >
How can I fix scrolling which is erratic at best ... - Mozilla Support
Scrolling in the latest update (version 57) is very erratic. When the mouse wheel is moved, sometimes the window scrolls and sometimes there ......
Read more >
Scrolling Not Working | Firefox Support Forum - Mozilla Support
Chosen solution · Click the menu button New Fx Menu · Select the General panel. · Under Performance, uncheck Use recommended performance settings....
Read more >
Firefox paint performance when scrolling page with flash is ...
This has to be a v1.0 blocker bug IMHO as it seriously impairs the usability of the browser. The same problem is present...
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