Skip to content

Conversation

@ErikOnBike
Copy link

Issue number: resolves #29562


What is the current behavior?

The input label is floating if an element is slotted. This is especially annoying if a password toggle is present, since it will start floating the label (even when no input is available).

What is the new behavior?

A label will only float (if specified and) if it has a value or received focus.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Screenshot before:
image

Screenshot after:
image

@ErikOnBike ErikOnBike requested a review from a team as a code owner October 18, 2024 12:11
@ErikOnBike ErikOnBike requested a review from thetaPC October 18, 2024 12:11
@vercel
Copy link

vercel bot commented Oct 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2024 0:14am

@ErikOnBike
Copy link
Author

Accidentally assigned this PR to the wrong issue. Closed PR.

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-input-password-toggle causes layout shift when ion-input has disabled or readonly property

1 participant