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

Function handleChange

web/components/ui/textarea.tsx:26–33  ·  view source on GitHub ↗
(e: React.ChangeEvent<HTMLTextAreaElement>)

Source from the content-addressed store, hash-verified

24 )
25
26 const handleChange = (e: React.ChangeEvent<HTMLTextAreaElement>) => {
27 setCharCount(e.target.value.length)
28 if (autoGrow && resolvedRef.current) {
29 resolvedRef.current.style.height = 'auto'
30 resolvedRef.current.style.height = `${resolvedRef.current.scrollHeight}px`
31 }
32 onChange?.(e)
33 }
34
35 React.useEffect(() => {
36 if (autoGrow && resolvedRef.current) {

Callers

nothing calls this directly

Calls 1

onChangeFunction · 0.50

Tested by

no test coverage detected