downshift-js/downshift

Have `Home`/`End` keys change cursor position, not selected item

Open

#1162 opened on Aug 25, 2020

View on GitHub
 (9 comments) (6 reactions) (0 assignees)JavaScript (11,761 stars) (980 forks)batch import
enhancementhelp wanted

Description

Downshift (useComboBox) is set up for Home and End keys to select the first or last option in the dropdown. However, the WAI-ARIA ListBox spec suggests that those keys should have their normal behavior of moving the cursor to the beginning/end of the text input.

Contributor guide