Skip to content

Some components are not compatible with styled-components v6 #344

Open
@arturmiglio

Description

@arturmiglio

Some components that use react-select can break (or fail in test environmets) when using styled-components latest (tested with 6.0.5).

  • @freenow/wave version: 1.32.0 (and probably may minors before)

What was expected to happen?

Eg.: PhoneInput, when user opens the Country select, makes the example app (below) crash with:

Cannot read properties of undefined (reading 'borderRadius')

Reproduction

https://codesandbox.io/s/styled-components-6-issue-gffvqg

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions