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

Start loading next/prev message page earlier #566

Open
szuperaz opened this issue Mar 21, 2024 · 1 comment
Open

Start loading next/prev message page earlier #566

szuperaz opened this issue Mar 21, 2024 · 1 comment

Comments

@szuperaz
Copy link
Contributor

Currently, the SDK loads the next/prev (depends on scroll direction) message page when the user scrolls to the very top/bottom of the channel (red line on the screenshot), but we can load it earlier, and then users won't have to wait (or wait less) for the messages to arrive (example line green on the screenshot).

Screenshot 2024-03-21 at 14 48 47

@szuperaz
Copy link
Contributor Author

szuperaz commented Apr 3, 2024

Implementation is in progress, issue: on Safari the message list will load two pages instead of just one. This is related to a problem with scrollTop (that most likely not present in Google Chrome because that tries to preserve scroll position while scrolling anyway)

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