twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
GNU Affero General Public License v3.0
15.5k stars 1.62k forks source link

Add Keyboard navigation on IconPicker #2746

Closed charlesBochet closed 8 months ago

charlesBochet commented 8 months ago

Scope & Context

Recently, we had introduced a re-usable SelectableList component which used in CommandMenu. It provides a simple way to track which item is selected with keyboard. Right now it only support one dimension (arrow up and down) but we would like to:

Current behavior

On the IconPicker, it is not possible to select an icon using the keyboard (arrow up, down, left, right)

Expected behavior

On the IconPicker, is is possible to select an icon using the keyboard

Technical inputs

gitstart-app[bot] commented 8 months ago

Here is the GitStart Ticket for this issue: https://clients.gitstart.com/twenty/5449/tickets/TWNTY-2746