Skip to content

breaking-change(item): Add item-start & item-end #11124

Closed

Description

@AmitMY

Ionic version: (check one with "x")
[ ] 1.x
[ ] 2.x
[x] 3.x

I'm submitting a ... (check one with "x")
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:
To put something in the right side of the item, you currently do: item-right, and to put something in the left side: item-left.
However, on RTL, item-left is actually in the right side, and item-right is in the left side.

Expected behavior:
While I agree with mirroring behaviour like this, I think that to avoid some confusion, having:
item-start = item-left
item-end = item-right
Will be more descriptive for RTL users, just like in ion-navbar, where we have start and end and not left and right

Activity

  1. manucorporat commented on Apr 7, 2017

    @manucorporat
    Contributor

    I agree with you @AmitMY. can you prepare a PR?
    We might not merge it just in this release, but we will do soon for sure :)

  2. AmitMY commented on Apr 7, 2017

    @AmitMY
    ContributorAuthor

    @manucorporat Thanks for the confirmation. I can make a PR, but I will wait for feedback for my currently open PR, just to see I don't break lot's of styles and stuff (learn from mistakes instead of doing twice)

  3. mburger81 commented on Apr 7, 2017

    @mburger81
    Contributor

    Good idea

  4. AmitMY commented on Apr 7, 2017

    @AmitMY
    ContributorAuthor

    @manucorporat Done, I of course don't expect a fast merge for a breaking change, just putting it out there

  5. AmitMY commented on May 8, 2017

    @AmitMY
    ContributorAuthor

    Merged

  6. ionitron-bot commented on Sep 3, 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.

  7. locked and limited conversation to collaborators on Sep 3, 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