Ionic 4.0.0 RTL issues
See original GitHub issueThis 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:
- a list of some utilities presenting issues in RC.0,
- and a list of components with tests included in the test suite.
Legend
Symbol | Description |
---|---|
β | Tested. Found compliant. |
βοΈ | Tested. Initially not compliant or Regression. Solved by PR specified in description. |
β | Not necessarily an issue, or not a core-specific issue, or design decision. |
β οΈ | Not tested. Help needed. |
β | Tested. Not completely compliant. Should list the defects. |
Fixed issues
CSS Utilities
- β
Text Alignment:
text-start
,text-end
,text-justify
, & their responsive versions - βοΈ Float Elements:
float-start
,float-end
, & their responsive versions (regression: https://github.com/ionic-team/ionic/issues/17012#issuecomment-455384111) (PR #18315 solves issue in Chrome) - β
Element Padding:
padding-start
,padding-end
- β
Element Margin:
margin-start
,margin-end
- β
Flex Container Properties:
justify-content-start
,justify-content-end
Grid
Components
- β action-sheet
- alert:
- β scroller with radio in MD: position correctly (see https://gyazo.com/d1602f045193380be6d02432a7e61878)
- β anchor
- β avatar
- β badge
- β
button
- β slotted icon in button in iOS
- β slotted icon in button in MD
- β buttons
- β card
- β card-header
- β checkbox
- β chip
- β content
- datetime
- βοΈ picker in iOS/MD: fix start/end columnsβ horizontal positioning when there are 2 or 3 picker columns (PR #18339)
- βοΈ with floating or stacked label: the datetime text should stay in the document flow (regression) (PR #18340)
- β picker in iOS/MD: keep the order of columns as in LTR when using time and/or DD/MM/YYYY date format (see #16294) (PR: #17018)
- fab
- βοΈ horizontal position: position ion-fab correctly (PR #18325)
- β fab-button
- β footer
- β
grid
- β col offsets, push, and pulls: fix offsets, pushs and pulls (PR: #16702)
- β header
- β icon (PR #17196)
- β img
- β infinite-scroll
- β
input (specific floating
label
issues are listed in the relevant components, and the issue with label and input vertical alignment is not specific to RTL) - β
item (specific
select
,range
, and floatinglabel
issues in relevant components) - item sliding
- βοΈ swiping direction: fix swiping direction & buttons positions (#14328) (#18366)
- label
- βοΈ position=βfloatingβ in iOS/MD: fix horizontal floating position relative to ion-item (PR #18315)
- β list
- β loading
- menu
- βοΈ outer shadow in iOS/MD: invert shadows (https://github.com/ionic-team/ionic/issues/17012#issuecomment-456685725) (PR #17383)
- β scrollbar in long menu: same issue than AlertController (https://github.com/ionic-team/ionic/issues/17012#issuecomment-454978489 / https://github.com/ionic-team/ionic/issues/17012#issuecomment-456685725 / https://gyazo.com/1d3033c073c854d9e09c89d934ecf50d
- β menu-button
- β modal
- β nav
- β nav-pop
- β nav-push
- β nav-set-root
- β note
- β picker
- popover
- progress-bar
- β radio
- β radio-group
- range
- β refresher
- β reorder-group
- β ripple-effect
- searchbar (#15884)
- β
cancel icon in MD: invert? Maybe not since the
cancelButtonIcon
property allows setting own icon? β‘οΈicon is now inverted thanks to PR #17196 - βοΈ cancel icon in MD: invert horizontal position (PR #18325)
- βοΈ clear icon in iOS: invert horizontal position (PR #18325)
- βοΈ clear icon in MD: invert horizontal position (PR #18325)
- βοΈ search icon in iOS: invert horizontal position (PR #18325)
- βοΈ search icon in MD: invert horizontal position (PR #18325)
- β
cancel icon in MD: invert? Maybe not since the
- segment
- βοΈ first and last buttons in iOS: fix borders (PR #18326)
- β border in Safari: border width is not switching
- select
- βοΈ select icon in iOS: fix position of the inner element (#18315)
- β
AlertController interface: same issues than
alert
component
- β skeleton-text
- β slides
- β spinner
- β split-pane
- tab-bar
- βοΈ badges: invert horizontal position (PR #18325 solves issue in Chrome)
- β tabs
- β text
- β textarea (label and input vertical alignment issue is not specific to RTL)
- β thumbnail
- β toast
- toggle
- β swipe gesture: fix gesture direction
- βοΈ checked toggle in iOS / MD: the handle is off (regression:
- β swipe gesture: fix gesture direction in Safari https://gyazo.com/b93302e08a9c43f312899736ab26717b / https://github.com/ionic-team/ionic/issues/17012#issuecomment-455076497) (PR #18325 fixes issue in Chrome)
- βοΈ swipe end in iOS mode: before gesture end, the handle looks off and goes beyond the left side (PR #18325 fixes issue in Chrome)
- toolbar (#15357) (PR #17196)
- β back button in iOS: use correct direction (β>β instead of β<β)
- β back button in MD: use correct direction (β->β instead of β<-β)
- β virtual-scroll
- swipe to go back
- gesture direction (https://github.com/ionic-team/ionic/issues/17012#issuecomment-494659630)
Existing Issues as of 4.4.1
- item-divider
- β slots margins in MD: in both
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))
- β slots margins in MD: in both
- menu
- animation is not rtl-aware: https://github.com/ionic-team/ionic-framework/issues/19489
- tab-bar
- β badges in Safari: invert horizontal position
- text
- β Float Elements:
float-start
,float-end
, & their responsive versions in Safari
- β Float Elements:
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:
- Fork the Ionic repo;
- Use the master branch;
- Setup your local copy;
- Run the test suite locally;
- When you navigate to the component you want to test, you can add
?rtl=true
to the url in order to check the RTL version; - Submit a comment with the issue.
See the contributing documentation for more information.
You can also test your own app using @ionic/angular@dev
Issue Analytics
- State:
- Created 5 years ago
- Reactions:30
- Comments:130 (48 by maintainers)
Top Results From Across the Web
What does "RTL" mean in Ionic 4.0.0 RTL? - Ionic Forum
I keep seeing βRTLβ as the current version of Ionic, in Github and on here, e.g. here https://github.com/ionic-team/ionic/issues/17012.
Read more >Adam Bradley on Twitter: "Ionic 4.0.0-rc.1 out! Reduces ionic ...
Ionic 4.0.0 -rc.1 out! Reduces ionic/angular main bundle size a bit more, sped up the startup time, and fixed some more bugs in...
Read more >ionic-calender-3 - npm
version 0.5.x depends on Ionic (>=4.0.0-rc.1), also supports Ionic 5.0.0. Version 0.6.x depends on Ionic (>=5.1.0) and Angular (>=9.1.0).
Read more >Npm Error - No matching version found for - Stack Overflow
Same problem now after npm install -g ionic@latest which takes it up to v.3.12.0 ... npm complains that there "is no matching version...
Read more >@ionic/core | Yarn - Package Manager
Ionic is an open source app development toolkit for building modern, fast, ... datetime: add flipRTL to monthAndYear dropdown icon (#26378 (13fe669)Β ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixes!
Iβve merged the following fixes for RTL that will make it into the release tomorrow (
4.4.1
):Latest Dev Build
I released a dev build if youβd like to try it sooner:
4.5.0-dev.201905212141.24e9cf0
Known Bugs
I went through all of this list and I found the following are absolutely still bugs:
Need Verification
I did not get a chance to check the following:
If anyone could please let me know if there is something Iβve missed or if you have done any debugging and might know where the problem is for some of these it would be very helpful. Thank you!
@abennouna Seems like your repo has solved most of my RTL issues (havenβt found a bug yet).