You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd love to be able to access the entire tab (trigger) list from the root of the tab component. I want to be able to iterate over it, not just select a value directly.
Examples in other libraries
React Aria library allows users to access and manipulate the state of the tab list either through the state or even lower useTabsList hook:
The main value I find is being able to bind a custom keybind for tabbing over the list without it needing be focused necessarily. For example, the feature I'm creating is allowing users to use [ and ] keys to tab over the components in a multipane setup (similar to lazygit: jesseduffield/lazygit#1861
The text was updated successfully, but these errors were encountered:
Feature request
Overview
I'd love to be able to access the entire tab (trigger) list from the root of the tab component. I want to be able to iterate over it, not just select a value directly.
Examples in other libraries
React Aria library allows users to access and manipulate the state of the tab list either through the state or even lower
useTabsList
hook:Who does this impact? Who is this for?
The main value I find is being able to bind a custom keybind for tabbing over the list without it needing be focused necessarily. For example, the feature I'm creating is allowing users to use
[
and]
keys to tab over the components in a multipane setup (similar to lazygit: jesseduffield/lazygit#1861The text was updated successfully, but these errors were encountered: