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

Treeselect: Scroll height should be removed when there are no result in treeselect-items. #15349

Closed
sandeshshrestha opened this issue Apr 24, 2024 · 0 comments · Fixed by #15357
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@sandeshshrestha
Copy link
Contributor

Describe the bug

TreeSelect when used with virtualScroll:true and filter:true keeps the height even where there are no items in dropdown.

image

image

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.

@sandeshshrestha sandeshshrestha added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 24, 2024
@cetincakiroglu cetincakiroglu added this to the 17.15.0 milestone Apr 26, 2024
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants