Replies: 2 comments 2 replies
-
Not that I know of, but I'll defer to @devongovett here.
That PR is definitely a good place to start. If you don't need to support drag and drop at all, you won't need to dive into the DropTargetDelegates or useDroppableCollection which should simplify the changes required. useGridListItem and useSelectableCollection is responsible for much of the focus navigation on keypress within the item and in the list respectively and would probably need to be modified to support the change to make Enter/Space "enter" the item. useSelectableItem handles item/row selection and will need to be modified as well. That being said, I want to share #2328 and #2605. We had a similar idea for TableView navigation + editing fields within the TableView as you have here, aka using Enter to "enter" a table cell that has interactive elements and otherwise just skipping the cell's internals if we weren't in edit mode. However, there were concerns that this behavior wasn't intuitive enough (how does a user know to hit Enter to "enter" a cell) and questions around what should happen if the user clicks onto the cell's interactive element directly (would they get confused if edit mode was enabled then? would they know to hit escape to restore standard grid navigation?). CardView had a similar issue where we initially had the right arrow navigate through each of a Card's focusable elements first before moving to the next card to the right Just some things to consider, lemme know if you had any thoughts on the above, we'd definitely would be interested in any alternative interaction patterns that you may have since we haven't finalized these patterns ourselves. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the work on #6486. I think an |
Beta Was this translation helpful? Give feedback.
-
Hello 👋
I recently saw that layout and orientation support was merged for ListBox component. It allows to create 2D grid-like structure, which I was interested in using.
Unfortunately (for me), it only covers
ListBox
component. In my use-case, I intend to useGridList
which would allow me to place interactive content like buttons inside an item. Among others, this would require changing the current keyboard behavior to introduce Enter/Space for selecting (entering into) a singular grid item.I'd like to ask
GridList
?Beta Was this translation helpful? Give feedback.
All reactions