Skip to content
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

Users lose their place in the conversation after replying in threads. #687

Closed
1 task done
jagged91 opened this issue Sep 15, 2021 · 1 comment · Fixed by #709
Closed
1 task done

Users lose their place in the conversation after replying in threads. #687

jagged91 opened this issue Sep 15, 2021 · 1 comment · Fixed by #709
Labels
bug Something isn't working

Comments

@jagged91
Copy link

Which packages are you using?

stream_chat_flutter

On what platforms did you experience the issue?

iOS, Android

What version are you using?

2.2.1

What happened?

When replying in a thread from a parent MessageListView, sending a reply resets the scroll position of the parent MessageListView to the bottom, so users lose their place in the chat after replying. I'm guessing a fix for this would be to not automatically scroll to the bottom when a thread reply is added.

Steps to reproduce

1. Override threadBuilder with your own ThreadPage implementation
2. Find a chat with a bunch of messages in it and scroll up to the top
3. Long press one of the first messages and tap on Thread Reply
4. Add a reply to the thread in ThreadPage
5. Exit ThreadPage and notice how the chat is now at the bottom and you've lost your place in the chat message list.

Supporting info to reproduce

No response

Relevant log output

No response

Flutter analyze output

No response

Flutter doctor output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jagged91 jagged91 added the bug Something isn't working label Sep 15, 2021
@jagged91 jagged91 changed the title Replying in a thread scrolls the main MessageListView to the bottom Users lose their place in the conversation after replying in threads. Sep 15, 2021
@imtoori
Copy link
Contributor

imtoori commented Sep 27, 2021

Hey @jgadsby we're looking into this
sorry for the delay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants