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

Make onYReachStart margin based #111

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

Make onYReachStart margin based #111

KDederichs opened this issue Jun 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@KDederichs
Copy link
Contributor

Hey,

as described here #78 you'll run into issues with infinite scroll cause once you're at the top the scroll bar will just stay there and cause infinite history loading till there's no more.

I'd propose an optional prop where you can pass a value (hard value or percent) to the MessageList and after the user passes that point the callback function gets called.

That way you can start loading new messages while the user is still scrolling, avoiding being stuck at the top.

@supersnager supersnager added the enhancement New feature or request label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants