Describe the bug
If you try to copy text while text is still generated the selection gets reset/lost (because the view gets re-rendered?)
To Reproduce
Steps to reproduce the behavior:
- send a message
- output starts to show token by token
- select text in the output to copy
- selected text gets deselected when the next token gets output
Expected behavior
text selection stays stable/selected
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: macOS
- Browser: Safari 17.1, Chrome 119