You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the old bug (as described) has been fixed, but (ugh) in only Firefox, the "visual scroll" position isn't preserved — i.e. when items disappear, the page shortens so you'll end up at the bottom of the page.
Activity
fregante commentedon Sep 7, 2019
If anyone comes up with a possible fix, the suggested feature name could be:
fix-toggle-pr-comments-scroll-bugRelated issue: #2398
Bug also discussed in #2087
Please also send this bug report to GitHub: [email protected]
yakov116 commentedon May 28, 2020
I just tried it and it looks like it was fixed.
fregante commentedon May 28, 2020
It looks like the old bug (as described) has been fixed, but (ugh) in only Firefox, the "visual scroll" position isn't preserved — i.e. when items disappear, the page shortens so you'll end up at the bottom of the page.
In other words: https://stackoverflow.com/questions/18461567/maintain-scrolltop-while-inserting-new-sections-above-the-current-viewed-element
Chrome recently fixed this so users don't see content jumping around when off-screen elements are changed, but Firefox apparently not.
Leaving open in case anyone knows how to fix that.
fregante commentedon Mar 11, 2021
Closing due to inactivity. Tough bug best resolved by GitHub anyway, if they haven’t already