Skip to content

Conversation

@Paulie-Aditya
Copy link

No description provided.

@Paulie-Aditya
Copy link
Author

fix-chat-issue.mp4

The problem:
Earlier implementation scrolls to the bottom as the response is generated. This causes a problem when the user is trying to read some part of the response, resulting in weird behaviour as seen by @hkirat (https://www.youtube.com/watch?v=r_DyB4QjGjU).

Solution:
Added a new useState which stops the auto-scroll if the user has made any movement

Kindly check the pr and let me know if there are any changes required from my end!

@Paulie-Aditya
Copy link
Author

Issue faced by kirat:

issue_by_kirat.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant