Skip to content

react-input-autosize inputWidth Uncaught RangeError: Maximum call stack size exceeded #567

@janryWang

Description

@janryWang

When I use the "Async options" feature and the "multi" feature, the system will be very easy to throw an error Uncaught RangeError: Maximum call stack size exceeded, and I monitor the call times of setState , I found setState always call in an infinite loop, and has been in the value of a “inputWidth” passed to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions