You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which can be used like so when creating a emotion cache, you will need 2 different caches (one for ltr and one for rtl). If the user specifies isRTL you can use the different cache for example.
@JanStevens
This is currently the solution that is in Planby but the one with dir=rtl I will add to the TOD list because it has a better approach to this. I will also see this package from emotion.
Hi,
I noticed in RTL mode the scroll direction is inversted. Looking at the code I see why, since in RTL everything is flipped using transform.
A better solution would be to rely more on the native browser capabilities like
direction: rtl
anddir=rtl
, additionally for emotion there is a stylis plugin: https://github.com/styled-components/stylis-plugin-rtlWhich can be used like so when creating a emotion cache, you will need 2 different caches (one for ltr and one for rtl). If the user specifies
isRTL
you can use the different cache for example.Regards
The text was updated successfully, but these errors were encountered: