Description
When opening the chat on smartphones, after the component is mounted, a re-render occurs, causing the message list to jump to the middle of the conversation. This results in an unpleasant lag or jump, affecting the user experience.
To Reproduce
Steps to reproduce the behavior:
- Open the chat on a smartphone.
- Wait for the component to mount.
- Ensure there are many messages in the conversation.
- Observe the message list jumping to the middle of the conversation after re-rendering.
- Feel the slight lag or visual jump.
Expected behavior
The message list should remain at the last message without shifting or jumping after the component is mounted and re-rendered.
Package version
"stream-chat": "^8.47.1",
"stream-chat-react": "^12.8.1",
Smartphone (please complete the following information):
Device: iPhone 15 Pro
OS: iOS (latest version)
Browser: Chrome, Safari (latest versions)
The issue occurs specifically on smartphones, with recent versions of Chrome and Safari browsers. After the chat component mounts, the message list jumps to the middle of the conversation, creating an unpleasant feeling of lag or stuttering.