Description
I'd like to request we add two optional props to the <HeaderLinks /> component:
- A
ref hook of type <HTMLElement>
- A
tabindex with default value of -1
I'm reviewing an issue in Kibana where focus is not managed properly on the dashboard views when users click the Edit/Save button to switch from View to Edit mode and back again. The larger issue is Kibana-specific, but these props will enable consumers to manage focus with custom event handlers.
Success criteria
Description
I'd like to request we add two optional props to the
<HeaderLinks />component:refhook of type<HTMLElement>tabindexwith default value of -1I'm reviewing an issue in Kibana where focus is not managed properly on the dashboard views when users click the Edit/Save button to switch from View to Edit mode and back again. The larger issue is Kibana-specific, but these props will enable consumers to manage focus with custom event handlers.
Success criteria
EuiHeaderLinksPropstypeisFocusablethat sets "-1" or only if the prop is passed