🛠️
LNUI-701Combobox: keyboard selection skips disabled options inconsistently
291 / 291

Combobox: keyboard selection skips disabled options inconsistently

Steps to reproduce

  1. Open the Combobox demo with a list containing disabled options
  2. Focus the input and press ArrowDown repeatedly
  3. Reach a disabled option surrounded by two enabled ones

Expected

Focus skips the disabled option and lands on the next enabled one, in both directions.

Actual

Going down skips correctly, going up stops on the disabled option and the aria-activedescendant points to a non-interactive element.

Screen recording — keyboard navigation bug0:18

Likely an off-by-one in findNextEnabledIndex when iterating backwards.

Activity

leonel.ngoya created the issue· 10d ago
leonel.ngoya moved from Triage to Product Feedback· 9d ago
iisabella.garcia7d ago

Confirmed on Firefox and Safari as well — not browser specific. The backwards iterator starts at index instead of index - 1.

👀 2