mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #119] Make copying text easier while text is still generated #50603
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tosh on GitHub (Nov 18, 2023).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/119
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:
Expected behavior
text selection stays stable/selected
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
@tjbck commented on GitHub (Nov 19, 2023):
Hi, Thanks for the suggestion. I'll have to look into this but I believe this is due to how svelte manipulates the DOM directly. Unfortunately I'm currently overwhelmed with all the work, so I'll take a look whenever I can. If you manage to find out a solution in the meantime, please reply to this thread or PR is always welcome!