MCPcopy
hub / github.com/stackblitz/bolt.new / scrollTextArea

Function scrollTextArea

app/components/chat/Chat.client.tsx:107–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 }, [messages, isLoading, parseMessages]);
106
107 const scrollTextArea = () => {
108 const textarea = textareaRef.current;
109
110 if (textarea) {
111 textarea.scrollTop = textarea.scrollHeight;
112 }
113 };
114
115 const abort = () => {
116 stop();

Callers 1

Chat.client.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected