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
Keyboard navigation in long Files pane folders can lose focus #19885
In a Files pane folder with a few hundred files or more, keyboard navigation in the file list can drop focus to the page.
Seen in a folder of 500 files on a dev server:
End moved focus out of the list to the page body.
Page Down did the same on its first press.
Moving focus with ArrowDown well past the first couple of hundred rows may do the same; that hasn't been checked.
A likely cause, not yet confirmed: the file list draws only the rows within about 200 of what's on screen (VirtualizedDataGrid). GWT's lookup of the keyboard-selected cell (AbstractCellTable.getKeyboardSelectedTableCellElement) compares the selected row's index with the number of rows actually drawn, so it finds nothing for a row far down the list, and there's nothing to focus. Other grids built on VirtualizedDataGrid may have the same problem.
Found while working on #19882, but not caused by it. Details and reliable reproductions still need to be worked out.
Activity