Skip to content

Back button pointing to opposite side on RTL direction  #10685

Closed

Description

@AsimNet

Ionic version:
[ ] 1.x
[x] 2.x

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] support request

Current behavior:

the arrow points to the left !
incorrect

Expected behavior:

the arrow points to the right
correct

Steps to reproduce:

make the app direction RTL by:
1- <ion-nav #content [root]="rootPage" dir="rtl"></ion-nav>
2- see the back button on navbar

and the same for iOS

Activity

  1. AsimNet commented on Mar 8, 2017

    @AsimNet
    Author

    same issue with alert controller, it's still LEFT TO RIGHT..

    thanks

  2. jgw96 commented on Mar 8, 2017

    @jgw96
    Contributor

    Thanks for using Ionic, we will look into this.

  3. AsimNet commented on Mar 8, 2017

    @AsimNet
    Author
  4. AmitMY commented on Mar 8, 2017

    @AmitMY
    Contributor

    imo, on RTL, all of the icons (or at least all of the arrow icons) should be mirrored..
    So, counter intuitively, arrow-forward would be arrow-back, arrow-dropleft to be arrow-dripright etc..

  5. jgw96 commented on Apr 7, 2017

    @jgw96
    Contributor

    Hello, thanks for using Ionic! We really appreciate this feedback on RTL support. This is not currently high priority for us at the moment, but we are tracking it in #5035. Because of this I am going to close this issue as a duplicate of that issue and ask that you put your feedback on that issue. Please know that by me closing this issue I am not saying that your feedback is not important, or that RTL support is not important, but I am simply closing this issue as we like to keep our issues as organized as possible so things do not get lost in the weeds (which is better said than done haha).

  6. reopened this on Apr 7, 2017
  7. jgw96 commented on Apr 7, 2017

    @jgw96
    Contributor

    Hello, after discussion I am actually going to reopen this issue and link it to the issue i linked to above. Sorry for the hassle.

  8. AmitMY commented on Apr 7, 2017

    @AmitMY
    Contributor

    PR #11121 solves this issue, @jgw96 Can you review?

  9. AmitMY commented on May 23, 2017

    @AmitMY
    Contributor

    @AsimNet Fixed in #11634
    @brandyscarney Can be closed

  10. AsimNet commented on Jul 18, 2017

    @AsimNet
    Author

    please open this issue again, because it returns with V3.5.3

    back button isn't flipped to other way with RTL!
    @AmitMY @brandyscarney @jgw96

  11. AmitMY commented on Jul 18, 2017

    @AmitMY
    Contributor

    @AsimNet Did you set your $app-direction to be multi is scss?
    The current default is ltr, because of a breaking change when setting it to multi.
    Using multi, I can see the back button correctly.

  12. AsimNet commented on Jul 18, 2017

    @AsimNet
    Author
  13. AmitMY commented on Jul 18, 2017

    @AmitMY
    Contributor

    In 3.4.0 that is all you had to do. However, because it broke some apps, the default is not ltr.
    in your variables.scss file set $app-direction: multi or $app-direction: rtl for it to work.

  14. AsimNet commented on Jul 18, 2017

    @AsimNet
    Author

    @AmitMY thanks 🌹

  15. ionitron-bot commented on Sep 2, 2018

    @ionitron-bot

    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.

  16. locked and limited conversation to collaborators on Sep 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions