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

Dropdown list entries not correct height for empty or whitespace strings #2021

Closed
sid-6581 opened this issue Jan 18, 2022 · 1 comment
Closed

Comments

@sid-6581
Copy link
Contributor

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primevue/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=110

CodeSandbox Case (Bug Reports)

Edit competent-mendeleev-tmpz7

Current behavior
When a dropdown list contains a string that is empty or all whitespace, the dropdown list entry will be collapsed, and not the correct height.

Reported in #1995, and a fix for the placeholder problem mentioned in this issue was fixed in #2016. My PR #1996 contained fixes for both issues, but #2016 did not fix the dropdown list entry height problem.

image

Expected behavior
The dropdown list should display the blank entry at the correct height.

  • Vue version: 3.2.26

  • PrimeVue version: 3.11

  • Browser: all

@tugcekucukoglu
Copy link
Member

Please use templating for height. It's not the core issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants