🙋 Feature Request
Right now a non-virtualized Table created with our aria/stately hooks will not automatically scroll the focused item into view. This means keyboard navigation scrolling has to be manually added by the end user which is not ideal.
🤔 Expected Behavior
The Table/Collection hooks should handle scrolling the focused item into view out of the box
😯 Current Behavior
The Table/Collection hooks don't handle scrolling the focused item into view out of the box
💁 Possible Solution
We have some code in useSelectableList that could possibly be moved into useSelectableCollection instead. Additionally, we'll have to have to handle the tab/shift-tab case for non-virtualized Tables that was fixed for virtualized Tables here. Possible solutions can be found in the comments thread of the PR.
🧢 Your Company/Team
RSP
🙋 Feature Request
Right now a non-virtualized Table created with our aria/stately hooks will not automatically scroll the focused item into view. This means keyboard navigation scrolling has to be manually added by the end user which is not ideal.
🤔 Expected Behavior
The Table/Collection hooks should handle scrolling the focused item into view out of the box
😯 Current Behavior
The Table/Collection hooks don't handle scrolling the focused item into view out of the box
💁 Possible Solution
We have some code in useSelectableList that could possibly be moved into useSelectableCollection instead. Additionally, we'll have to have to handle the tab/shift-tab case for non-virtualized Tables that was fixed for virtualized Tables here. Possible solutions can be found in the comments thread of the PR.
🧢 Your Company/Team
RSP