Closed sandeshshrestha closed 2 weeks ago
TreeSelect when used with virtualScroll:true and filter:true keeps the height even where there are no items in dropdown.
virtualScroll:true
filter:true
Pop!_OS 22.04 LTS
No response
17.2.0
17.14.1
Angular CLI App
TypeScript
20.11.1
Chromium 124.0.6367.60
The style height: {{scrollHeight}} must be removed when there are no items.
height: {{scrollHeight}}
Describe the bug
TreeSelect when used with
virtualScroll:true
andfilter:true
keeps the height even where there are no items in dropdown.Environment
Pop!_OS 22.04 LTS
Reproducer
No response
Angular version
17.2.0
PrimeNG version
17.14.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.11.1
Browser(s)
Chromium 124.0.6367.60
Steps to reproduce the behavior
No response
Expected behavior
The style
height: {{scrollHeight}}
must be removed when there are no items.