downshift-js/downshift

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

Open

#1162 aperta il 25 ago 2020

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

Metriche repository

Star
 (11.761 star)
Metriche merge PR
 (Merge medio 4g 9h) (7 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