PrimeNG Select Component - Missing Scroll to Selected Item #17218
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The PrimeNG p-select component does not automatically scroll to the currently selected item when the dropdown is opened. This can lead to poor user experience, especially with long lists, as users must manually scroll to locate the selected item.
Expected Behavior:
Upon opening the select component, the list should automatically scroll to the highlighted/selected item, ensuring it is visible without manual scrolling.
Current Behavior:
When the select is opened, the highlighted item is not brought into view. Users must scroll down manually to find the selected item, which can be inconvenient with large datasets.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/dsmmahyn
Environment
Angular Version 19. Mac
Angular version
19.0.0
PrimeNG version
v19
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Upon opening the select component, the list should automatically scroll to the highlighted/selected item, ensuring it is visible without manual scrolling.
The text was updated successfully, but these errors were encountered: