Skip to content

Adding '&::placeholder' pseudo-element css selector breaks rtl #46

@crackedlcd

Description

@crackedlcd

When I add a &::placement style to a MUI TextField I get this error:

TypeError
Cannot read properties of undefined (reading 'push')

You can see an example of the code here to reproduce this error: https://codesandbox.io/p/sandbox/runtime-cache-v573zp?file=%2Fsrc%2FDemo.tsx%3A16%2C30

The expected result is that the TextField's placeholder text should be colored magenta in the above example.

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