-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
p-floatlabel overlaps selected value of p-dropdown #17331
Comments
Can be resolved by importing |
@davidda Even with p-select, the floatlabel with the variant="on" is not showing correctly. The label is half hidden behind the select box, maybe a z-order of the label can fix this... |
@morsagmon Try updating to 19.0.2. The issue you're describing did occurr in v18, but not the current version: https://stackblitz.com/edit/github-tnilcrnz-zfel3vvv?file=src%2Fapp%2Fapp.component.html |
@davidda Thanks. I'm on 19.0.5 now. The only way I could promote the label forward was using z-index (z-2 class). |
@morsagmon I think this is the expected behaviour, as the label will stay ON as long as the control has focus. If you click/tab away, it returns to the inside. |
@davidda Not in my case. Focus or not - always ON... |
Describe the bug
Occurrs after the focus leaves the dropdown.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/github-tnilcrnz?file=src%2Fapp%2Fapp.component.html
Environment
Angular version
19
PrimeNG version
v19
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
Select a value in dropdown, click somwher else to move focus => float label overlaps selected value
Expected behavior
float label stays above field
The text was updated successfully, but these errors were encountered: