Closed programmer-yang closed 6 years ago
Not sure I understand correctly what you are trying to do... what defaultValue
? it is not in your example. What do you mean by manually change its height
? If you mean that you change textarea height in browser - then yes, react-height will not update dynamically.
@nkbt
I think this problem should be is in the mechanism of the textarea
I later use react-textarea-autosize
solved the problem
thank you
hello, the author
this is my code:
When I manually change its height, defaultValue didn't respond