downshift-js/downshift

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

Open

#1,162 opened on Aug 25, 2020

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

Repository metrics

Stars
 (11,761 stars)
PR merge metrics
 (Avg merge 6d 9h) (5 merged PRs in 30d)

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