Skip to content

text-align: center causes infinite recursion #549

@savv

Description

@savv

I'd suspect autosize, but no idea.

To repro:

  1. https://jedwatson.github.io/react-select/
  2. With the inspector, edit the topmost div of a Select:
    image
  3. Add text-align: center:
    image
  4. Back to the select, type something. After the third keystroke or so the typing will freeze, and eventually "RangeError: Maximum call stack size exceeded" is thrown.

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