Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Using StyledComponents and MaxRows without "jumps" #154

Open
bensquire opened this issue Aug 10, 2021 · 0 comments
Open

Using StyledComponents and MaxRows without "jumps" #154

bensquire opened this issue Aug 10, 2021 · 0 comments

Comments

@bensquire
Copy link

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.

@bensquire bensquire changed the title Using StyledCompents and MaxRows without "jumps" Using StyledComponents and MaxRows without "jumps" Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant