Skip to content

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

Merged
liamdebeasi merged 4 commits into
mainfrom
FW-5968
Feb 14, 2024
Merged

fix(label): do not grow when in end slot#29036
liamdebeasi merged 4 commits into
mainfrom
FW-5968

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented Feb 13, 2024

Copy link
Copy Markdown
Contributor

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 averyrousseau and removed request for a team February 13, 2024 16:22

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor 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
@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