#6489·heroui

[BUG] - Select Popover is scrolled to wrong position, leaving selected item out of view

Author: wolkyuraCreated May 7, 2026Updated May 26, 2026

HeroUI Version

3.0.3

Describe the bug

When a Select component opens its popover and value is already selected, the popover attempts to scroll to the selected item. However, the scroll position lands somewhere near the middle of the list rather than at the selected item, which remains out of view.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Render a <Select> with a long list of options (enough to require scrolling).
  2. Set a default value that is not near the top of the list (e.g. an item in the bottom third).
  3. Open the Select popover by clicking/focusing the trigger.
  4. Observe the scroll position inside the popover list.

Expected behavior

The popover scrolls so that the selected item is visible - ideally centered or near the top of the visible area.

Screenshots or Videos

https://github.com/user-attachments/assets/a4672d38-75a1-4ee9-9d24-56b3aa6ddb87

Operating System Version

macOS

Browser

Chrome