Summary
Having direction: rtl; in the body breaks sidebar animation
Steps to Reproduce
- Copy "content push" side bar from preline ui docs
- Paste it in a html
- add dir="rtl" to the html or direction:rtl; to the body style
Demo Link
https://stackblitz.com/edit/vitejs-vite-umxbmzea?file=index.html
Expected Behavior
When adding direction: rtl; to the body or dir='rtl' to the html tag it's expected that the animation also follows the other parts of the side bar and become RTL.
Actual Behavior
Instead the animation breaks when opening the menu on mobile devices. it first snaps to the left and then gradually moves right
Screenshots
No response
Summary
Having direction: rtl; in the body breaks sidebar animation
Steps to Reproduce
Demo Link
https://stackblitz.com/edit/vitejs-vite-umxbmzea?file=index.html
Expected Behavior
When adding direction: rtl; to the body or dir='rtl' to the html tag it's expected that the animation also follows the other parts of the side bar and become RTL.
Actual Behavior
Instead the animation breaks when opening the menu on mobile devices. it first snaps to the left and then gradually moves right
Screenshots
No response