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 }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Open the Find in Files filter dropdown, or the status bar language picker dropdown
Hover over any random item in the list
Press Page Up or Page Down repeatedly
Result: Selection alternates between the first and last item in the list forever. Nothing else ever gets selected.
Expected: Either do nothing or act like Home/End instead of jumping around (the latter is how native dropdowns appear to work on Windows).
Side note -- it also looks like DropdownEventHandler._itemsPerPage() won't work right when there are any dividers in the list (indeed, you can't return a single result that's true for all "pages" of items, since their height isn't constant). The only dropdowns we currently use dividers on are too short to scroll, but that's not guaranteed forever -- so we might want to clean up the other Page Up/Down codepath too...
Result: Selection alternates between the first and last item in the list forever. Nothing else ever gets selected.
Expected: Either do nothing or act like Home/End instead of jumping around (the latter is how native dropdowns appear to work on Windows).
Side note -- it also looks like
DropdownEventHandler._itemsPerPage()won't work right when there are any dividers in the list (indeed, you can't return a single result that's true for all "pages" of items, since their height isn't constant). The only dropdowns we currently use dividers on are too short to scroll, but that's not guaranteed forever -- so we might want to clean up the other Page Up/Down codepath too...