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

Long boring messages break scroll to bottom functionality

Open zrxq opened this issue 2 years ago • 3 comments

What did you do?

Launched the demo app, copied and pasted a paragraph from a random Wikipedia article, scrolled up, maybe tapped on the input field to make the keyboard visible, tapped "scroll to bottom" button.

What did you expect to happen?

Most recent message is visible.

What happened instead?

It doesn't scroll to the correct location.

RocketSim_Recording_iPhone_13_mini_2022-05-26_20 04 59

GetStream Environment

GetStream Chat version: 4.15 I think GetStream Chat frameworks: StreamChat, StreamChatSwiftUI iOS version: 15.5 Swift version: 5 Xcode version: 13 Device: Sim

Additional context

zrxq avatar May 26 '22 17:05 zrxq

Hi @zrxq,

Thanks for reporting the issue.

We will analyze it and let you know when we have an update.

Regards, Martin

martinmitrevski avatar May 26 '22 19:05 martinmitrevski

@martinmitrevski Any hopes on this?

grandsir avatar Nov 10 '23 21:11 grandsir

it's lower priority for now, can't tell when we will tackle it.

martinmitrevski avatar Nov 13 '23 10:11 martinmitrevski

Hi, I have been looking into this issue and although I can see what happened on the screen recording, I am struggling to find ways how to reproduce this case. Seems like keyboard was dismissed while the scrolling was in progress which made ScrollView to lose the scroll location. If we could figure out steps (or create a channel in the demo app) where it would reproduce, then that could give us more hints what exactly happened and why the keyboard was dismissed. Until then it is difficult proceed with it. Maybe, it is fixed indirectly by some other changes, not sure. Please reopen if you happen to find a way to reproduce this again.

laevandus avatar Jun 13 '24 12:06 laevandus