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

Using StyledComponents and MaxRows without "jumps" #154

@bensquire

Description

@bensquire

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions