Is your feature request related to a problem? Please describe.
I'm trying to add simple keyboard support for changing the active tab.
Describe the solution you'd like
When a tab has focus and the user presses space/enter, I would like that tab to become active.
Describe alternatives you've considered
I have a workaround by wrapping the DockviewReact component in a div with a keyboard listener, but I don't find this to be a great solution. Ideally I would be able to put a listener directly on my custom tab component (that I pass to defaultTabComponent), but the component that receives focus is rendered inside of dockview.
Additional context
N/A
Is your feature request related to a problem? Please describe.
I'm trying to add simple keyboard support for changing the active tab.
Describe the solution you'd like
When a tab has focus and the user presses space/enter, I would like that tab to become active.
Describe alternatives you've considered
I have a workaround by wrapping the DockviewReact component in a div with a keyboard listener, but I don't find this to be a great solution. Ideally I would be able to put a listener directly on my custom tab component (that I pass to
defaultTabComponent), but the component that receives focus is rendered inside of dockview.Additional context
N/A