You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit efcd14e
Browse filesBrowse the repository at this point in the historyBrowse files
fix: Prevent page scroll on Home and End in Select, Multiselect and OptionList
When the list element has focus, Home and End moved the highlight to the first or last option, and the browser also ran its native action, which scrolls the page or a scroll container to its top or bottom. The list's keydown handler from useListbox now prevents the native Home and End action. This applies to Select and Multiselect without a filter, embedded Multiselect and OptionList. With a filter, focus is in the input, and Home and End keep moving the text cursor.
0 commit comments