The page scrolls to the bottom unnecessarily when editing multi-line message, this makes it difficult to view and edit the full message content.
Steps to Reproduce:
- Enter a multi-line message into the input field, ensuring the content is long enough to cause the input field to overflow – for example, by having a lengthy message history displayed above the input, or by typing a very long message.
- Scroll to the top or middle of the message within the input field.
- Place the cursor at a visible position within the input field (e.g., the middle of the screen).
- Add or remove a character in the input field.
Behavior:
The page scrolls to the bottom, placing the cursor at the bottom of the screen.
Expected Behavior:
The page should maintain its current scroll position