Hi,
One of our developers spotted a problem when using Chrome/Chromium and scrolling a patch that has a number of comments where the page would jump around and not scroll consistently. For this particular change it does make reviewing and responding to comments much more difficult than it should be.
I believe it all comes back to changes implemented by the browsers to support asynchronous-panning to try and provide smoother displaying of webpages, but appears in certain cases to have issues with certain behaviour being attached to scroll events.
https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Scroll-linked_effectsUsing Firefox with the developer console I can see the following message pop up:
"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!"
And when looking at some reviews on the gerrit website I can find some that appear to trigger the same jankiness, but only very slightly, suspect not enough review comments appearing on the same file to show it:
https://gerrit-review.googlesource.com/?polygerrit=0#/c/105472/3..4/gerrit-server/src/main/java/com/google/gerrit/server/api/changes/ChangeApiImpl.javaI haven't tracked down what exactly causes it, and hoping there might be a simple workaround until we're ready to switch to the Polygerrit UI as it doesn't appear to be occurring there, though I could do with finding a change with more comments on a single file to be sure.
Have tried disabling smooth scrolling in the browser to see if that helped, and it had no effect.
Any thoughts? Suggestions? Anything that can be modified in the css/js that might help alleviate or even just narrow down the culprit.
--
Darragh