Skip to content

auto scroll to top after new items appended inside @totop event #270

Open
@xrei

Description

@xrei

Let say we have and some list of items, in the @totop event i fetch more items and concatenate them, and after that scroll immediately goes to 0 (at the very top) which is wrong, it should stay where it was before fetching new items.

is there any solutions?

actually i made one by finding id of last message before fetching new ones and finding that message in new list then scrollToIndex but the scroll still glitches i see that transition after very top to the index. it looks awful :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions