Animation jerks when returning to the feed
See original GitHub issueHello.
Apologies in advance for my english.
In general, the problem is this… If you scroll the feed from the very beginning, then everything works perfectly, absolutely smooth scrolling. BUT if you scroll through a few pages, enter one of the posts, and then return to the feed and restore the scroll position, terrible glitches begin, the feed jumps up and down almost every scroll.
I restore the position using “scrollInto”:
scrollTo(id: number) { this.virtualScroller.scrollInto( this.items.find((e) => e.id === id), undefined, -50, 0 ); }
Demo is unrealistic, the project is huge and completely decomposed. Therefore, I am attaching a video for clarity.
Help me please.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11
Top Results From Across the Web
css3 slide up, jerky animation of the content under it
If its too slow, it will look jerky. The speed of your animation looks perfect however, and I didn't experience any issues.
Read more >Jerky scrolling in multiple apps. - OnePlus Community
I've started to notice that when in a lot of apps, scrolling isn't very pleasant. It's jerky. Not very smooth at all. Facebook...
Read more >Fixing common performance problems in React Navigation
With this fix, the animation doesn't jerk anymore – wonderful! Well, almost. Unfortunately, fixing this issue causes deeplinks to break – not so...
Read more >Character animation jerks when moving - Unity Answers
On the left - animation of a stationary object, on the right - in motion. The animation starts to twitch just from the...
Read more >remove sudden upward & downward jerk from camera
Also, when the player comes down, there's a downward jerk in Camera. ... if (!target) return; // Calculate the current rotation angles float...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @Uchit-Patel, I’ll see if I can find the fix I did a year ago and come back to you shortly (tonight or tomorrow)
Hey @rintoj , There should be an option to toggle this behavior for those who are not lazy loading the entire list. for those who are not appending or prepending items the solution I gave will solve the scrolling issue. what do you think? should i raise an PR for this?