-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ionic 4.0.0 RTL issues #17012
Comments
Scroller inside |
Yes indeed, |
@Newbie012 I noticed it's only the case with the AlertController interface, and in MD. Can you please verify? |
@abennouna True |
Thanks @Newbie012, added to the list under the |
I updated the original issue to include links to some of the open RTL issues. We can either keep those open for tracking or close them to track here. |
@abennouna I notice that dir option is removed form ion-slides in v4 which is supposed to RTL when using slides component. May I know will it be added back or is there any alternative way to achieve it? |
@twinssbc slides work in RTL mode out of the box as long as the document is in RTL. Are you referring to something else? PS: There is an issue though if you want to switch direction dynamically: you'd have to reload the document to keep swiper events working correctly |
@abennouna I would like to thank you for your effort in making sure that all RTL issues are fixed. I just want to mention that items inside ion-item-divider in RTL has different margins with both slot="start" and slot="end" than in LTR |
@abuassar 🤝don't mention it! Good call! I see a 2px margin that disappears in RTL mode, only in MD. Can you confirm please? |
It is not just 2px error, please check the following screen shots: START uses slot="start" and here is how to recreate the issue https://gist.github.com/abuassar/bdee78a37e36cf1c5e7ddc506eed141d |
unfortunately I found the same issue with ion-item: START uses slot="start" demo: |
@abuassar am I right to assume you're not using the latest master with PR #16987? I updated the issue description to explain the test context. Here's the current render of the issue in |
@abennouna you are right, I'm using rc1 as I thought it has the fix. Would you please guide me how to use latest master with the said PR? |
@abuassar I updated the issue description with the following in the "Contributing" part:
Please let me know if it's unclear. |
@abennouna I can confirm that slides work in the default RTL mode, no extra option is required. |
this issue: #17012 (comment) still exist in real ios device/simulator but not in browser ! ionic version: 4.7.1 |
this is happening because of the following style:
removing unset will solve the problem but I am not sure how to override/cancel it |
Not sure if this will work, I don't have access to test it, but maybe you
can try
:host( .fab-horizontal-center):lang(en) {
margin-left: unset;
}
https://www.w3schools.com/cssref/sel_lang.asp
…On Tue, Aug 6, 2019 at 10:37 PM Adel Ali ***@***.***> wrote:
this is happening because of the following style:
:host( .fab-horizontal-center) {
margin-left: unset;
}
removing unset will solve the problem but I am not sure how to
override/cancel it
I tried all other values for margin but they didn't work
only removing it will fix the issue!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#17012>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHJ3YPFJSDPK4KG7ZKD7BLQDHHIHANCNFSM4GO4IEFQ>
.
|
thanks @mrahmadt but that didn't work the solution is: in global.scss
also I notice that fab start position is not changing direction in RTL mode in ios simulator/device |
ion-slides rtl is not working properly ? |
Hello, i have a problem with side menu in real IOS devices |
@brandyscarney |
any update on the RTL support for ion-slides if I changed document dir to RTL the ion-slide stop sweeping between slides |
It swipes but in the wrong direction |
@abennouna i still see the issue "select icon in iOS: fix position of the inner element" on the current version, although its supposed to be fixed according to the issue description. |
@abennouna It looks like columns in Previous work seems to indicate this is intentional:
Do you recall the reasoning behind this? |
Hello Everyone, Second: |
Hey. I wonder if swipe to go back direction is already solved or not. Because the direction is not changing right now. |
|
this is not working for me too.. |
@ChiragPrajapat, I recently reported a bug for this issue and show a walkthrough about that, check it and hope, it is useful for you. |
Late but i fix it by setting with of ion-sliding-options as unset
|
- adds the ability to run npm start and launch the icon component locally - adds a test for viewing the icon component locally - updates the component css to include rtl styles - updates contributing to include steps for this references ionic-team/ionic-framework#17012
## Pull request checklist Please check if your PR fulfills the following requirements: - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features) - Some docs updates need to be made in the `ionic-docs` repo, in a separate PR. See the [contributing guide](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#modifying-documentation) for details. - [x] Build (`npm run build`) was run locally and any changes were pushed - [x] Lint (`npm run lint`) has passed locally and any fixes were made for failures ## Pull request type Please check the type of change your PR introduces: - [x] Bugfix - [ ] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior? End slots are lacking margin of 2px when in RTL. Issue URL: Part of #17012 ## What is the new behavior? - Simplifying `property-horizontal` by removing any margin unset End slots with buttons will have a margin-end of 2px regardless of direction. ### Screenshots ![Screen Shot 2023-03-24 at 13 48 25](https://user-images.githubusercontent.com/13530427/227642440-acf0f2c2-37c7-43da-bad4-67ef1b31b3ac.png) ![Screen Shot 2023-03-24 at 13 48 17](https://user-images.githubusercontent.com/13530427/227642445-79cf2986-c0b5-45d1-ba38-1beda698c2d5.png) ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information - Continuation of #27024 in order to apply it to Framework v7 --------- Co-authored-by: Liam DeBeasi <[email protected]> Co-authored-by: ionitron <[email protected]>
This issue is to collect and keep track of RTL bugs vs. master so we can make sure to properly update and fix them.
Below are:
Legend
Fixed issues
CSS Utilities
text-start
,text-end
,text-justify
, & their responsive versionsfloat-start
,float-end
, & their responsive versions (regression: Ionic 4.0.0 RTL issues #17012 (comment)) (PR fix(sass): update rtl function to prepend host with context properly #18315 solves issue in Chrome)padding-start
,padding-end
margin-start
,margin-end
justify-content-start
,justify-content-end
Grid
Components
label
issues are listed in the relevant components, and the issue with label and input vertical alignment is not specific to RTL)select
,range
, and floatinglabel
issues in relevant components)cancelButtonIcon
property allows setting own icon? ➡️icon is now inverted thanks to PR fix(icon): update to latest ionicons and add rtl test #17196alert
componentfloat-start
,float-end
, & their responsive versions in Safarihttps://gyazo.com/b93302e08a9c43f312899736ab26717b / Ionic 4.0.0 RTL issues #17012 (comment)) (PR fix(rtl): updates searchbar, fab and toggle icon positioning in rtl #18325 fixes issue in Chrome)
Existing Issues as of
4.4.1
slot="start"
andslot="end"
, a small2px
margin appears on one side in LTR, but not on the opposite side in RTL (see https://i.imgur.com/4W5TFs2.png for an illustration of the problem: the box model shows the slotted ion-button))See also: animation is not rtl-aware: #19489
Contributing
Please help with the untested components, or double-check the tested ones if you feel like it. Thank you for the contribution anyway!
If you're not familiar with the included test suite:
?rtl=true
to the url in order to check the RTL version;See the contributing documentation for more information.
You can also test your own app using
@ionic/angular@dev
The text was updated successfully, but these errors were encountered: