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
Thanks for the issue! Is there a reason you can't set dir on the <html> element? We check for the document.dir in the code which is ltr if you set it on the <ion-app> element:
In my application (many applications?) it needs to be parametric/dynamically set based on a user preference setting and bindings aren't possible in index.html (as far as I know?).
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
On a fresh repository generated using this command:
ionic start photo-gallery sidemenu --type=angular --capacitor
All I do is put the attribute
dir="rtl"
on the<ion-app>
element, and the behavior becomes this:side-menu.mp4
Expected Behavior
The menu should animate in from the right when dir="rtl" for the app.
Steps to Reproduce
ionic start photo-gallery sidemenu --type=angular --capacitor
src/app/app.component.html
<ion-app>
to<ion-app dir="rtl">
npm start
Code Reproduction URL
https://github.com/vicatcu/photo-gallery
Ionic Info
Ionic:
Ionic CLI : 7.2.0 (/home/vic/.nvm/versions/node/v18.20.2/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.4.3
@angular-devkit/build-angular : 19.2.0
@angular-devkit/schematics : 19.2.0
@angular/cli : 19.2.0
@ionic/angular-toolkit : 12.1.1
Utility:
cordova-res : 0.15.4
native-run : 2.0.1
System:
NodeJS : v18.20.2 (/home/vic/.nvm/versions/node/v18.20.2/bin/node)
npm : 10.5.0
OS : Linux 6.9
Additional Information
No response
The text was updated successfully, but these errors were encountered: