Dropdown Array Key Selection skipping last entry. #10408
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Just go to the show case
https://www.primefaces.org/primeng/showcase/#/dropdown
and try to select paris with arrow key down in the basic example
Current behavior
Selecting the last item in the dropdown per arrow key is not possible
The bug is located here:
primeng/src/app/components/dropdown/dropdown.ts
Line 810 in 3231ea9
When searching for the next element the last in the array is skipped. for whatever reason
Expected behavior
Selecting the last item is possible
Angular version: 12.x
PrimeNG version: 12.x
Browser: [all]
The text was updated successfully, but these errors were encountered: