For ListBox and Dropdown components there seems to be an issue when custom theme styling can't be applied for focused, but not selected item. So when you move between items via keyboard up and down keys - you can't see what item is preselected and it ruins UX.
Describe the bug
For ListBox and Dropdown components there seems to be an issue when custom theme styling can't be applied for focused, but not selected item. So when you move between items via keyboard up and down keys - you can't see what item is preselected and it ruins UX.
Reproducer
https://stackblitz.com/edit/bgakjh-nlrzat?file=src%2FApp.jsx
PrimeReact version
10.7.0
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Chrome 128
Steps to reproduce the behavior
ListBox
Dropdown
Expected behavior
Expected behaviour would be possibility to style focused, but not selected item (like in demo - https://stackblitz.com/run?file=src%2FApp.jsx)