-
Notifications
You must be signed in to change notification settings - Fork 5k
p-select: with virtual scroll and filter, option list gets hidden after clearing clearing letter one by one #19442
Copy link
Copy link
Closed
Labels
Resolution: Needs More InformationMore information about the issue is needed to find a correct solutionMore information about the issue is needed to find a correct solutionType: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working
Milestone
Description
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
- Lack of time
- Unsure how to implement the fix/feature
- Difficulty understanding the codebase
- Other
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)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Resolution: Needs More InformationMore information about the issue is needed to find a correct solutionMore information about the issue is needed to find a correct solutionType: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working
Type
Projects
Status
Done