Description
The chat container automatically scrolls to the bottom whenever:
the user types
presses Enter (sends a message)
or when the AI sends a response
This behavior is triggered regardless of the user’s current scroll position.
Problem
If a user scrolls up to read previous messages, the view is forcibly pulled back to the bottom on any new interaction or update, breaking the reading experience.
Expected Behavior
Auto-scroll should only happen if the user is already near the bottom
If the user has scrolled up, the scroll position should be preserved

Description
The chat container automatically scrolls to the bottom whenever:
the user types
presses Enter (sends a message)
or when the AI sends a response
This behavior is triggered regardless of the user’s current scroll position.
Problem
If a user scrolls up to read previous messages, the view is forcibly pulled back to the bottom on any new interaction or update, breaking the reading experience.
Expected Behavior
Auto-scroll should only happen if the user is already near the bottom
If the user has scrolled up, the scroll position should be preserved