File diffs in pull requests tab eat browser scroll #8098
Replies: 4 comments 7 replies
-
I realise that +1 comments are not that useful but this is happening to me too on Firefox on Ubuntu and it is driving me a little mad. Feels like my mouse is broken as scrolling just randomly doesn't work but it is only on diff pages and on closer inspection is due to this 1px size diff. |
Beta Was this translation helpful? Give feedback.
-
For what is worth in my experience issue was only present on Firefox combined with i3wm. Seems to solve the issue so far. |
Beta Was this translation helpful? Give feedback.
-
I have this issue as well (Firefox on KDE), and applying this fix using stylus works well. It also fixes scrolling using the arrow keys, and page-up / page-down. Posted to https://userstyles.world/style/4652/linux-github-pr-scroll-fix for convenience. |
Beta Was this translation helpful? Give feedback.
-
I can reliably reproduce this (or a similar issue) in Chrome This happens both in unified and split views. |
Beta Was this translation helpful? Give feedback.
-
Sometimes, when scrolling in the pull requests tab with the cursor positioned over a file diff, the diff area will eat the browser's scroll and scroll itself by 1px or so. It seems to happen more often when you hover over the diff for a bit, as opposed to hovering over it while the page is already scrolling.
The expectation is for the page to scroll, as if the mouse was hovering the sides of the page.
Video of it happening:
2021-11-25.14-33-36.mp4
You can see the diff area scrolling by a very small amount when it looks like I'm not doing anything (I'm scrolling as hard as I can).
Browser:
Beta Was this translation helpful? Give feedback.
All reactions