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
ion-select with no-padding attribute in RTL mode not working #11914
Also I've saw that no matter on which ion-element (at least few ion elements I've needed) I put no-padding attribute - it got override by some html[dir="rtl"] ... css class.
for example it happens for ion-item also.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
snirs90 commentedon Jun 4, 2017
Also I've saw that no matter on which ion-element (at least few ion elements I've needed) I put
no-paddingattribute - it got override by somehtml[dir="rtl"] ...css class.for example it happens for
ion-itemalso.AmitMY commentedon Jun 4, 2017
That is intended* behavior.
[dir="rtl"]selectors correctly wherever needed - see feat(rtl): add rtl margin, padding, position and border-radius #11342 (this ruins the css specificity ltr has on rtl)[dir="ltr"]as well, see feat(rtl): optimize the new mixins for smaller bundle, ltr seperation #11635 (which fixes your issue)Reason: Step 1 does not effect anything for ltr users, step 2 changes the entire css bundle.
There are many more RTL fixes coming soonish.
*intended - we don't want it, but the first rtl fixes were intended to override the ltr design
feat(rtl): optimize the new mixins for smaller bundle, ltr separation (…
brandyscarney commentedon Jun 6, 2017
Fixed by #11635, thanks @AmitMY 😄
ionitron-bot commentedon Sep 2, 2018
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.