You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'use client'importTextareaAutosizefrom'react-textarea-autosize'importstyledfrom'styled-components'import{useState}from'react'exportdefaultfunctionTemp(){const[message,setMessage]=useState('')constWrapper=styled.div``// When I remove either Wrapper or state, it works.return(<Wrapper><TextareaAutosizevalue={message}onChange={(e)=>setMessage(e.target.value)}/></Wrapper>)}
Is this a bug, or is there a solution?
Thanks,
The text was updated successfully, but these errors were encountered:
Hi!
Condition
TextareaAutosize
does not work whenTextareaAutosize
AND
Symptom
I can input a single letter, but not more.
Minimal Reproduction
Is this a bug, or is there a solution?
Thanks,
The text was updated successfully, but these errors were encountered: