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

Closed
can-oezkan opened this issue May 21, 2024 · 0 comments · Fixed by #15971
Closed
Labels
LTS-FIXED-15.4.23 LTS-FIXED-16.9.13 LTS-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working v18-port
Milestone

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
@mehmetcetin01140 mehmetcetin01140 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 Jun 6, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.18.1 milestone Jun 6, 2024
@cetincakiroglu cetincakiroglu modified the milestones: 17.18.1, 17.18.2 Jun 13, 2024
@mehmetcetin01140 mehmetcetin01140 modified the milestones: 17.18.2, 17.18.3 Jun 27, 2024
@cetincakiroglu cetincakiroglu modified the milestones: 17.18.3, 17.18.4 Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTS-FIXED-15.4.23 LTS-FIXED-16.9.13 LTS-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working v18-port
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants