A webpage I created has two offcanvas menus, one on each side. They function properly when in English, but I also need to support Arabic. To do so, I added dir="rtl"
to the html
tag. However, the right offcanvas menu displays strange behavior in Chrome - it seems to be a repaint issue. The menu sometimes shifts into the correct position when I resize the window, or even randomly after a few seconds.
I utilized transform: translateX();
and transform: translate3d();
on the body
element to achieve this effect. Upon review, everything appears to be configured correctly.
You can view an example showcasing this bug on Codepen here: http://codepen.io/Ghostavio/pen/WbgXXZ