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

Float Label: Label Doesn't stay Above Field for DatePicker When Left Click Held on a Value #11936

Closed
TheMightyE opened this issue May 14, 2024 · 4 comments
Labels
🐞 defect Bug...Something isn't working
Milestone

Comments

@TheMightyE
Copy link

TheMightyE commented May 14, 2024

Describe the bug

image
When using FloatLabel with the DatePicker, if the user left clicks a date for about half a second (hold left click on a date for longer to easily recreate the issue) then the float label goes back as the placeholder with the selected value. This can consistently be recreated on the showcase.

As a little extra bit of info, on the same showcase page's Dropdown component (below the Datepicker), when left click is held on a value, the label comes back as a placeholder, but when the click is released, the label goes above the field. This is the expected behavior for the Datepicker Float Label as well.

I did come across this fix, however I am able to recreate the issue on PrimeFaces v13.0.8 and the showcase which is v13.0.10-SNAPSHOT at this time.

Reproducer

No response

Expected behavior

No response

PrimeFaces edition

Community

PrimeFaces version

13.0.10-SNAPSHOT

Theme

No response

JSF implementation

MyFaces

JSF version

4.0.2

Java version

17.0.7

Browser(s)

Edge

@TheMightyE TheMightyE added ‼️ needs-triage Issue needs triaging 🐞 defect Bug...Something isn't working labels May 14, 2024
@melloware
Copy link
Member

@TheMightyE can you try and reproduce it here: https://quarkus-faces-melloware-8a6a34c1.koyeb.app/ui/misc/floatLabel.xhtml?jfwid=0e7df

That is the latest DatePicker on PF 14.0.0 just want to see if it is still happening?

@TheMightyE
Copy link
Author

Ooo okay I am unable to recreate it there!

@melloware
Copy link
Member

OK fixed in PF 14.0.0 then!

@melloware melloware added this to the 14.0.0 milestone May 14, 2024
@melloware melloware removed the ‼️ needs-triage Issue needs triaging label May 14, 2024
@TheMightyE
Copy link
Author

Wonderful. Thanks as usual!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 defect Bug...Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants