-
Notifications
You must be signed in to change notification settings - Fork 325
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
🔥 [🐛] initialScrollToFirstUnreadMessage does not work #2591
Comments
same issue |
Hi @ricardojmf, Can you please pass this property to the The reason why the scrolling doesn't happen for you whenever you have 30-40 messages is because the pagination window is lower and the Handling it through the |
@isekovanic, I tried this in our application (using version 5.23.2) and the scroll does not occur. Even with only a few messages (around 10) and more (around 25), it stays at the most recent message in the chat. |
Hi @WeAreArne , That's quite odd. Can you check if this is also happening on one of the newer versions of the SDK ? The reason being, there've been quite a lot of updates since version |
Hi @isekovanic, I tried updating to the most recent version, but this still doesn't seem to fix the issue. |
Hi @WeAreArne , Could you please have a look at version Here's the changelod: https://github.com/GetStream/stream-chat-react-native/releases/tag/v5.42.0 |
Hi again @WeAreArne , It seems that a regression was introduced in version Changelog here: 75c3907 |
Issue
I'm trying to check the default
InlineUnreadIndicator
but with no success, it does not appear (even if I declare that I'm using it). I research your code base and saw that for it to appear thescrollToBottomButtonVisible
should be true which mean that we have to open the chat with lots of unread messages pointed to the first one so that the scroll to button appears on the screen.Unfortuanatelly this also did not work, I've added the prop
initialScrollToFirstUnreadMessage
to my<MessageList />
component but it does not scroll to the first unread message (I've tested with 30 and 40 unread mesages)Steps to reproduce
Steps to reproduce the behavior:
Having this config:
Expected behavior
Project Related Information
Customization
Click To Expand
Offline support
Environment
Click To Expand
package.json
:# N/A
react-native info
output:stream-chat-react-native
version you're using that has this issue:5.33.1
iPhone 13
Additional context
Screenshots
Click To Expand
The text was updated successfully, but these errors were encountered: