Skip to content

Animation jerks when returning to the feed #478

Open
@iSpid3r

Description

@iSpid3r

Hello.

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.

NEWS.mp4

Help me please.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions