diff --git a/packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx b/packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx index c0417d3fa0d..fbdca63beab 100644 --- a/packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx +++ b/packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx @@ -39,7 +39,6 @@ export const PromptInput: Component = () => { let textareaRef: HTMLTextAreaElement | undefined let highlightRef: HTMLDivElement | undefined - let ghostRef: HTMLDivElement | undefined let dropdownRef: HTMLDivElement | undefined let debounceTimer: ReturnType | undefined let requestCounter = 0 @@ -159,9 +158,6 @@ export const PromptInput: Component = () => { if (highlightRef && textareaRef) { highlightRef.scrollTop = textareaRef.scrollTop } - if (ghostRef && textareaRef) { - ghostRef.scrollTop = textareaRef.scrollTop - } } const adjustHeight = () => { @@ -320,13 +316,10 @@ export const PromptInput: Component = () => { )} - - - - + +