react-spectrum
fcf0c6e1 - refactor so dnd specific key navigation is obtained via ListLayout

Commit
2 years ago
refactor so dnd specific key navigation is obtained via ListLayout this means we dont have to export keyboardDelegate from useTable/useGrid and instead we can have keyboard DnD keyboard navigation centralized in useDroppableCollection by providing itemFilter to the keyAbove/Below getters in Listlayout which ListView and TableView use. Also fixes various bugs I discovered such as focusing a non-valid drop target if the last focused key in the droppable collection was a column header and other bugs with pageup/down during keyboard DnD
Author
Parents
Loading