MCPcopy Index your code
hub / github.com/codeaashu/claude-code / adjustHeight

Function adjustHeight

web/components/chat/ChatInput.tsx:103–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101 };
102
103 const adjustHeight = () => {
104 const el = textareaRef.current;
105 if (!el) return;
106 el.style.height = "auto";
107 el.style.height = `${Math.min(el.scrollHeight, 200)}px`;
108 };
109
110 return (
111 <div className="border-t border-surface-800 bg-surface-900/50 backdrop-blur-sm px-4 py-3">

Callers 1

ChatInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected