Describe the bug
We are using p-select with virtual scroll and filtering enabled. When we enter a query that has no matches, the component displays the “No data” placeholder. After removing characters one by one until results appear again, the overlay height becomes too small to display even a single option.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/3sjehehg?file=src%2Fapp%2Fselect-lazyvirtualscroll-demo.ts
Environment
All environments.
Angular version
20.3.15
PrimeNG version
v20
Node version
22.18.0
Browser(s)
145.0.7632.117 (Official Build) (64-bit)
Steps to reproduce the behavior
- Start typing input in the select filter with virtual scroll support untill you get no results. (In reproducer enter 0000)
- Remove each input character one by one until you get some results. (In reproducer remove one zero)
- The list with options is not visible
Expected behavior
Should show a complete list of matched options (with scroll in case we have more than fit in our overlay popup)
Describe the bug
We are using p-select with virtual scroll and filtering enabled. When we enter a query that has no matches, the component displays the “No data” placeholder. After removing characters one by one until results appear again, the overlay height becomes too small to display even a single option.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/3sjehehg?file=src%2Fapp%2Fselect-lazyvirtualscroll-demo.ts
Environment
All environments.
Angular version
20.3.15
PrimeNG version
v20
Node version
22.18.0
Browser(s)
145.0.7632.117 (Official Build) (64-bit)
Steps to reproduce the behavior
Expected behavior
Should show a complete list of matched options (with scroll in case we have more than fit in our overlay popup)