Skip to content
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

fix(label): do not grow when in end slot #29036

Merged
merged 4 commits into from Feb 14, 2024
Merged

fix(label): do not grow when in end slot #29036

merged 4 commits into from Feb 14, 2024

Conversation

liamdebeasi
Copy link
Member

@liamdebeasi liamdebeasi commented Feb 13, 2024

Issue number: resolves #29033


What is the current behavior?

In #28773 I resolved several incorrect behaviors with Items related to text wrapping. However, it looks like I missed the removal of https://github.com/ionic-team/ionic-framework/pull/28146/files#diff-4a1156704dbf45b0dad273b6909b190ca45e4380aa7378ba88d0dd7d48d7d473R37 which caused the issue to persist when adding a label to the end slot.

What is the new behavior?

  • Removed logic that caused ion-label to grow larger than it needed to be
main branch
Screenshot 2024-02-13 at 11 20 43 AM Screenshot 2024-02-13 at 11 21 17 AM

Does this introduce a breaking change?

  • Yes
  • No

Other information

Dev build: 7.7.2-dev.11707840956.16e27b4c

@github-actions github-actions bot added the package: core @ionic/core package label Feb 13, 2024
@liamdebeasi liamdebeasi marked this pull request as ready for review February 13, 2024 16:22
@liamdebeasi liamdebeasi requested a review from a team as a code owner February 13, 2024 16:22
@liamdebeasi liamdebeasi requested review from amandaejohnston and removed request for a team February 13, 2024 16:22
Copy link
Member

@brandyscarney brandyscarney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a test for this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Start slot looks larger than it should here, but I checked and this has been the behavior for a while. Not sure if this is a bug, but I decided that changing this is out of scope.

@liamdebeasi liamdebeasi added this pull request to the merge queue Feb 14, 2024
Merged via the queue into main with commit 1fc4b76 Feb 14, 2024
46 checks passed
@liamdebeasi liamdebeasi deleted the FW-5968 branch February 14, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: ion-item slot end is shifted to the left
3 participants