Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix timeline jumps #10001
This PR attempts to fix most “timeline jumps”, that is, situations in which the scrolling viewport of a timeline move to different toots without user intervention.
Timeline jumps are caused whenever a toot above the current scrolling position changes height after its first rendering, or gets deleted.
Height changes are currently due to:
I have chosen not to fix 3. for now, as it is caused by user interaction, and thus is a little less jarring than the other issues.
This PR implements two main fixes:
Those are pretty big changes, so they should be thoroughly tested, which I haven't done yet.