buildo/react-autosize-textarea

Using StyledComponents and MaxRows without "jumps"

Opened this issue · 0 comments

I'm just wondering if anyone knows if it's at all possible to use styled components and maxRows without the jumping as described in #95 ?

As I understand the problem it’s that StyledComponents are rendered asynchronous where as react-autosize-textarea is synchronous, so it renders and then uses a timeout to update the styling.