downshift-js/downshift

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

Open

#1,162 建立於 2020年8月25日

在 GitHub 查看
 (9 留言) (6 反應) (0 負責人)JavaScript (11,761 star) (980 fork)batch import
enhancementhelp wanted

描述

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.

貢獻者指南