[Snackbar] horizontal positioning is not changing in RTL #32794
Labels
bug 🐛
Something doesn't work
component: snackbar
This is the name of the generic UI component, not the React module!
Duplicates
Latest version
Current behavior 😯
The snackbar component is not changing its horizontal position when changing to the mui.com page to righ-to-left (RTL) direction. For example, the first snackbar example remains on the left side in both LTR and RTL, while the snackbar code says it should switch.
Expected behavior 🤔
The snackbar should change its horizontal positioning
Steps to reproduce 🕹
Steps:
Using this repo locally, the bug shows as well. But when I deactivate the RTL code part in the snackbar component, the bug is resolved.
There seems to be a conflict between snackbar RTL code and
stylis-plugin-rtl
/@emotion/cache
rewriting LTR stylesContext 🔦
In my local project, I'm using basically the same RTL provider setup as the mui.com page using
stylis-plugin-rtl
and@emotion/cache
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: