chatscope / chatscope/chat-ui-kit-react
Make onYReachStart margin based
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
Hey,
as described here https://github.com/chatscope/chat-ui-kit-react/issues/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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.