change body tag dir document.body.setAttribute("dir", "rtl");
What is expected?
nav bar need flip the side to right
What is actually happening?
nav bar stay in left side and only the text changes position
Solution
When i set rt tag to body in app.js like this:
document.body.setAttribute("dir", "rtl");
the side nav doesn't flip to right side like ti pages > rtl , in example page
only the font changes
as I understand MuiPaper should change the class to rtl-1ioqvny-MuiPaper-root-MuiDrawer-paper
but he doesn't and stays on the class
css-1ioqvny-MuiPaper-root-MuiDrawer-paper
maybe I need to do something else besides adding a dir=rtl to body?
Version
2.1.0
Reproduction link
https://doenshavefornow.com
Operating System
windows 11
Device
pc
Browser & Version
Version 105.0.5195.127
Steps to reproduce
What is expected?
nav bar need flip the side to right
What is actually happening?
nav bar stay in left side and only the text changes position
Solution
When i set rt tag to body in app.js like this: document.body.setAttribute("dir", "rtl"); the side nav doesn't flip to right side like ti pages > rtl , in example page only the font changes as I understand MuiPaper should change the class to rtl-1ioqvny-MuiPaper-root-MuiDrawer-paper but he doesn't and stays on the class css-1ioqvny-MuiPaper-root-MuiDrawer-paper maybe I need to do something else besides adding a dir=rtl to body?
Additional comments