stream-chat-react icon indicating copy to clipboard operation
stream-chat-react copied to clipboard

Integrate react-virtuoso autoscrollToBottom to handle image loading

Open petyosi opened this issue 2 years ago • 0 comments

Motivation In a timeline with loading images without a specified size, the virtualized message list does not account for the increased space, causing the list to stop "following" the conversation.

We will solve that eventually with explicit image sizes coming from our backend. But for now, I've exposed this method that allows the list to "catch up" on increased sizes.

Acceptance Criteria A timeline with images without fixed sizes should load correctly at the bottom and should scroll to the bottom if a message with an image attachment is received.

petyosi avatar Jun 27 '22 10:06 petyosi