-
Notifications
You must be signed in to change notification settings - Fork 292
Description
Describe the bug
We updated our stream-chat-react version from 11.4.0 => 13.12.0 and are experiencing an unexpected behavior of the MessageList and MessageInput inside the Channel component. The components are being re-rendered/unmounted/flashing constantly.
To Reproduce
Steps to reproduce the behavior:
- Have package version
13.12.0installed - Create a component like this:
<Channel channel={selectedChannel}>
<MessageList />
<MessageInput />
</Channel>
- The message list and input is always flashing/re-render/unmounting
Expected behavior
The MessageList and MessageInput components are not being re-rendered/unmounted/flashing with every channel change as with version 11.4.0. We even tried to remove everything around the channel component and simply using the stream components and every time we ended up with the re-rendering.
Screenshots
Screen.Recording.2025-12-02.at.08.44.24.mov
Package version
- stream-chat-react:
13.12.0 - stream-chat:
9.25.0
Desktop (please complete the following information):
- OS: MacOS
- Browser: Chrome
Additional context
As mentioned even with the code examples from stream we encounter this behavior. We also have a header component which is wrapped in memo and is not being re-rendered on channel updates.