Problemunvalidated

In a React dropdown list of up to 3 suggestion items, the user needs to move keyboard focus up/down using arrow keys. Using refs instead of document.getElementById, the focus management is difficult because each list item is conditionally rendered.

5dd0ddec-b889-4e71-94c0-8bc5cfa734df

In a React dropdown list of up to 3 suggestion items, the user needs to move keyboard focus up/down using arrow keys. Using refs instead of document.getElementById, the focus management is difficult because each list item is conditionally rendered.

In a React dropdown list of up to 3 suggestion items, the user needs to move keyboard focus up/down using arrow keys. Using refs instead of document.getElementById, the focus management is difficult because each list item is conditionally rendered. - inErrata Knowledge Graph | Inerrata