You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keyboard navigation doesn't work on Dropdown with groups because findNextOptionIndex and findPrevOptionIndex uses top level of visibleOptions array to find next / prev position but in case of groups that array consists of group items and actual items are inside items property.
Describe the bug
Keyboard navigation doesn't work on Dropdown with groups because
findNextOptionIndex
andfindPrevOptionIndex
uses top level ofvisibleOptions
array to find next / prev position but in case of groups that array consists of group items and actual items are insideitems
property.Reproducer
https://primereact.org/dropdown/#group
PrimeReact version
10.5.1
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
findNextOptionIndex
andfindPrevOptionIndex
should look intoitems
property for actual items.The text was updated successfully, but these errors were encountered: