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

[v4.0.0-Beta.13] Floating ion-label styles conflict ion-input with placeholder text #16049

Closed
selipso opened this issue Oct 23, 2018 · 3 comments
Assignees

Comments

@selipso
Copy link

selipso commented Oct 23, 2018

The following block of code cases the floating label to float directly on top of the placeholder (with both being visibly overlapping) while there is no focus on the input.

Once focus is added to the input, the label floats to the top as expected. The expected behavior is that the default placement of the label is further up and with smaller font so as not to cover the input.

<ion-item>
    <ion-label position="floating">Search</ion-label>
    <ion-input required type="text" 
      placeholder="Enter search term"
      autofocus="true"
    >
    </ion-input>
</ion-item>
@ionitron-bot ionitron-bot bot added the triage label Oct 23, 2018
@selipso
Copy link
Author

selipso commented Oct 23, 2018

Was just looking through the code to see if I could help solve this. I think it was already fixed as part of: #16036

Keeping this open until that commit gets into the next release.

@manucorporat
Copy link
Contributor

Fixed by a8be529

@ionitron-bot
Copy link

ionitron-bot bot commented Dec 2, 2018

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Dec 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants