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

p-floatlabel overlaps selected value of p-dropdown #17331

Open
4 tasks
davidda opened this issue Jan 8, 2025 · 1 comment
Open
4 tasks

p-floatlabel overlaps selected value of p-dropdown #17331

davidda opened this issue Jan 8, 2025 · 1 comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@davidda
Copy link

davidda commented Jan 8, 2025

Describe the bug

image

Occurrs after the focus leaves the dropdown.

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

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

@davidda davidda added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 8, 2025
@davidda
Copy link
Author

davidda commented Jan 9, 2025

Can be resolved by importing SelectModule instead of DropdownModule and renaming p-dropdown to p-select.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant