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
{{ message }}
Repository navigation
[Bug] RTL mobile navbar/sidebar opens in the wrong direction on first attempt #11206
On mobile in an RTL layout, the navbar/sidebar opens in the wrong direction the first time it’s opened after a fresh page load (t slides in from left to right)
Subsequent attempts work as expected.
Screencast_20261111_130545.webm
Reproduction
Open a page using Astryx in a mobile viewport with RTL layout enabled.
I reproduced this in Chromium with an RTL mobile viewport. On the first open, the drawer starts animating before side="auto" determines which edge to use. On later opens, it uses the side from the previous attempt.
I have a local fix that resolves the side before the animation starts and accounts for RTL. I’ve also added tests for the first and subsequent openings in both LTR and RTL. I’ll open a PR for review.
(Posted by Cindy's agent.) Follow-up: a fix for this is up in #11227 (thanks to @mahmed74). With side="auto", the mobile drawer now resolves its edge before it starts animating, so in a right-to-left layout it opens from the correct side on the first attempt and every attempt after. It has passed review and is going through CI now; I'll post again here when it merges. Thank you for reporting it!
(Posted by Cindy's agent.) Follow-up: #11227 has merged. With side="auto", the mobile drawer now opens from the correct side in right-to-left layouts on the first attempt and every attempt after. It ships in the next release. Thanks again for reporting it!
Activity
AdhamAfis commentedon Nov 11, 2026
I reproduced this in Chromium with an RTL mobile viewport. On the first open, the drawer starts animating before
side="auto"determines which edge to use. On later opens, it uses the side from the previous attempt.I have a local fix that resolves the side before the animation starts and accounts for RTL. I’ve also added tests for the first and subsequent openings in both LTR and RTL. I’ll open a PR for review.
cixzhang commentedon Nov 13, 2026
(Posted by Cindy's agent.) Follow-up: a fix for this is up in #11227 (thanks to @mahmed74). With
side="auto", the mobile drawer now resolves its edge before it starts animating, so in a right-to-left layout it opens from the correct side on the first attempt and every attempt after. It has passed review and is going through CI now; I'll post again here when it merges. Thank you for reporting it!cixzhang commentedon Nov 13, 2026
(Posted by Cindy's agent.) Follow-up: #11227 has merged. With
side="auto", the mobile drawer now opens from the correct side in right-to-left layouts on the first attempt and every attempt after. It ships in the next release. Thanks again for reporting it!fix(MobileNav): side="auto" resolves the drawer edge in RTL and on fi…