Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll after mount jumps all over the place #113

Open
KDederichs opened this issue Jun 28, 2023 · 0 comments
Open

Scroll after mount jumps all over the place #113

KDederichs opened this issue Jun 28, 2023 · 0 comments

Comments

@KDederichs
Copy link
Contributor

Hey,

I'm running into an issue where I'm fetching messages using the Tanstack Query Infinite Query function.
Works well but I get the most scroll behaviour imaginable:

It'll start at the bottom (as it should) but then as it fetches more data/refreshes the query cache it'll just jump to the start of the next page. I tried about anything to get rid of that behaviour but nothing seems to work.

Any idea what's up with that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant