Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
crackedlcd opened this issue Jan 29, 2024 · 4 comments
Open

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

crackedlcd opened this issue Jan 29, 2024 · 4 comments

Comments

@crackedlcd
Copy link

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.

@amirking59
Copy link

same

3 similar comments
@drico
Copy link

drico commented Nov 8, 2024

same

@RamziSayagh
Copy link

same

@Melcaro
Copy link

Melcaro commented Nov 8, 2024

same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants