downshift-js/downshift

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

Aperta

#1162 aperta il 25 ago 2020

 (9 commenti) (6 reazioni) (0 assegnatari)JavaScript (980 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (11.761 stelle)
Metriche merge PR
 (Merge medio 6g 9h) (5 PR mergiate in 30 g)

Descrizione

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.

Guida contributor