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

AutoComplete: Increased drop-down height on first search when using virtual scroll #15647

Open
can-oezkan opened this issue May 21, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@can-oezkan
Copy link
Contributor

Describe the bug

When using the autocomplete component with virtual scroll, the height of the drop-down on first search is increased.

image

Environment

unrelated

Reproducer

https://primeng.org/autocomplete#virtualscroll

Angular version

unrelated

PrimeNG version

v17.17.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

unrelated

Browser(s)

No response

Steps to reproduce the behavior

  1. enable virtualScroll
  2. Search for an item that only has one or zero suggestions
  3. dropdown lists suggestions with increased height
  4. Search for an item that has more than one suggestion.
  5. dropdown lists suggestions with increased height
  6. Search for an item that only has one or zero suggestions
  7. dropdown now has correct height

Expected behavior

image

@can-oezkan can-oezkan added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant