Skip to content

bug: ion-item slot end is shifted to the left #29033

Closed

Description

@robingenz

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

After I updated to Ionic 7.7.1, it looked like this:

111-after

Expected Behavior

With Ionic 7.5.0 it looked like this:

111-before

That is also the behavior I expect.

Steps to Reproduce

Simply use the following code:

<ion-list>
	<ion-item>
		<ion-label>Start</ion-label>
		<ion-label slot="end">End</ion-label>
	</ion-item>
</ion-list>

Code Reproduction URL

https://codepen.io/robingenz/pen/XWGyBQz

Ionic Info

Ionic:

   Ionic CLI                     : 7.1.6
   Ionic Framework               : @ionic/angular 7.7.1
   @angular-devkit/build-angular : 17.0.8
   @angular-devkit/schematics    : 16.2.8
   @angular/cli                  : 17.0.8
   @ionic/angular-toolkit        : 10.0.0

Capacitor:

   Capacitor CLI      : 5.6.0
   @capacitor/android : 5.6.0
   @capacitor/core    : 5.6.0
   @capacitor/ios     : 5.6.0

Utility:

   cordova-res                          : not installed globally
   native-run (update available: 2.0.1) : 2.0.0

System:

   NodeJS : v18.19.0 (/opt/homebrew/Cellar/node@18/18.19.0/bin/node)
   npm    : 10.2.3
   OS     : macOS Unknown

Additional Information

No response

Activity

  1. liamdebeasi commented on Feb 13, 2024

    @liamdebeasi
    Contributor

    Looks like this is an edge case I missed from #28769. I'll get a PR up to fix.

  2. added
    package: core
    type: bug
    on Feb 13, 2024
  3. liamdebeasi commented on Feb 13, 2024

    @liamdebeasi
    Contributor

    Here's a dev build if you are interested in testing a fix: 7.7.2-dev.11707840956.16e27b4c

  4. removed their assignment
    on Feb 13, 2024
  5. robingenz commented on Feb 14, 2024

    @robingenz
    ContributorAuthor

    Thank you for this fast fix! I've just tested it and it looks good!

  6. added a commit that references this issue on Feb 14, 2024
    1fc4b76
  7. liamdebeasi commented on Feb 14, 2024

    @liamdebeasi
    Contributor

    Thanks for the issue. This has been resolved via #29036, and a fix will be available in an upcoming release of Ionic Framework.

  8. ionitron-bot commented on Mar 15, 2024

    @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.

  9. locked and limited conversation to collaborators on Mar 15, 2024
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

    package: coretype: bug

    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