diff --git a/src/lib/components/chat/Messages/ContentRenderer.svelte b/src/lib/components/chat/Messages/ContentRenderer.svelte index 1f233bbed..fe7c7572f 100644 --- a/src/lib/components/chat/Messages/ContentRenderer.svelte +++ b/src/lib/components/chat/Messages/ContentRenderer.svelte @@ -48,7 +48,9 @@ } else { if (buttonsContainerElement) { buttonsContainerElement.style.display = 'none'; + selectedText = ''; floatingInput = false; + floatingInputValue = ''; } } }, 0);