You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
Dylan Huang
committed
Refactor auto-scroll logic in ChatInterface to enhance user experience
- Replaced initial mount reference with a previous messages length reference to prevent scrolling on the first render and only scroll when new messages are added.
- Improved scrolling behavior to avoid unnecessary scrolls when messages are removed, ensuring a smoother chat interaction.
0 commit comments