Table: Adjust navigation action of Tab key to prev/next instead of left/right
Closed this issue · 2 comments
Acylation commented
What would you like to be added?
Now the Tab key navigates left/right, which means the cursor will be stuck at the start or end of the row. I wonder if the behavior can be adjusted to prev/next to move forward/backward between rows?
Why is this needed?
The prev/next style is consistent with major column limited sheets.
I'd like to have a try on this if accepted. A concern is, should I just pass the parameter "the number of columns" to Grid-Cells, or should cell navigation be lifted to DataGrid?
marcusolsson commented
Good idea!
I think the easiest way is to implement here. Ideally, I think only the Tab character should wrap to the next and previous rows, so maybe we need to update the event payload to include a wrap
property or similar.
Acylation commented
Got it, I'll have a further look into this.