ComboBox/ListBox does not scroll to the first non-disabled option when opening

Author: Mariam4324Created Oct 1, 2026Updated Oct 1, 2026

Provide a general summary of the issue here

When a ComboBox (or ListBox) opens and the first several options are disabled, focus correctly moves to the first non-disabled option, but the list does not automatically scroll to make that option visible.This is a follow-up to the focus behavior that was fixed in #9239.

@LFDanLu asked to file a separate issue for the remaining scroll part: https://github.com/adobe/react-spectrum/issues/9239#issuecomment-4956268216 and https://github.com/adobe/react-spectrum/issues/9239#issuecomment-5005035958

Expected Behavior?

When the dropdown opens:

  1. Focus moves to the first non-disabled option (already works).
  2. The list should automatically scroll so that the focused (first available) option is visible in the viewport.

Current Behavior

Virtual/DOM focus correctly lands on the first non-disabled option. Scroll position stays at the top of the list. If there are many disabled items at the beginning, the user only sees disabled options and may think there are no selectable items.

Possible Solution

After setting the initial focused key to the first focusable item, also call scrollIntoView (or the equivalent internal scroll-to-focused-item logic) so the focused option becomes visible.

Context

In our product we must keep disabled options in the list (they represent existing but currently unavailable values — permissions, subscription plans, data state, etc.).

We style them with opacity: 0.5. Removing them from the collection is not acceptable for UX reasons. This becomes especially problematic for keyboard and screen-reader users when the first available option is far down the list. Related issue that might share some of the scroll-into-view logic:

#8703 (RAC Select: selected item is not scrolled into view)

️ Steps to Reproduce

Working reproduction (many disabled items at the top):

https://codesandbox.io/p/sandbox/cv7gyf?file=%2Fsrc%2FApp.js Original discussion and videos can be found in #9239.

Version

react-aria 3.43.0

What browsers are you seeing the problem on?

Other

If other, please specify.

Chrome, Firefox, Safari (reproduces consistently)

What operating system are you using?

MacOS

Your Company/Team

No response

Tracking Issue

No response