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

Component: Dropdown #17112

Closed
keajod01 opened this issue Dec 18, 2024 · 2 comments · Fixed by #17118
Closed

Component: Dropdown #17112

keajod01 opened this issue Dec 18, 2024 · 2 comments · Fixed by #17118
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Milestone

Comments

@keajod01
Copy link

Describe the bug

When tabbing to a dropdown that has enough records for the dropdown to have a scroll bar and then pressing a letter on the keyboard of an item lower on the list in the dropdown, it opens the dropdown however it does not auto scroll to where the record is in the dropdown.

Below is a gif of the bug:

PrimeNGDropdown

Environment

I have tried it on the PrimeNG website and the bug exists there too.

Reproducer

No response

Angular version

18.2.13

PrimeNG version

17.18.12

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.17.8

Browser(s)

Chrome, FireFox

Steps to reproduce the behavior

  1. Tab to a dropdown that has enough records so that it has a scroll bar.
  2. Press the letter on the keyboard for a record that is lower on the list of items in the dropdown.
  3. It will open the dropdown however, visually it will not scroll to the record.
  4. Visually it will remain on the top of the dropdown.

Expected behavior

When you tab to a dropdown and press a letter of a record in the dropdown, it should both visually scroll to the dropdown and highlight the record.

@keajod01 keajod01 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 18, 2024
@EtienneBoshoff
Copy link

Found the same problem was about to open a bug

@mertsincan mertsincan added Status: Pending Review Issue or pull request is being reviewed by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 19, 2024
@mertsincan mertsincan added this to the 19.0.2 milestone Dec 19, 2024
@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 19, 2024
mehmetcetin01140 added a commit that referenced this issue Dec 26, 2024
@github-project-automation github-project-automation bot moved this from Review to Done in PrimeNG Dec 26, 2024
@keajod01
Copy link
Author

Hi, could we perhaps have the fix applied to version 17? As 17 is the version that we are making use of.

PrimeNG version: 17.18.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants