Skip to content

Add tooltipContent and tooltipProps support for EuiComboBox and EuiSelectable options #7690

@JasonStoltz

Description

@JasonStoltz

Requested by the Cloud team to replace long description text for roles. They would like to ship this by the end of the month.


See similar existing APIs:

/**
* Optional custom tooltip content for the button
*/
toolTipContent?: EuiToolTipProps['content'];
/**
* Optional props to pass to the underlying **[EuiToolTip](/#/display/tooltip)**
*/
toolTipProps?: Partial<Omit<EuiToolTipProps, 'content' | 'children'>>;

/**
* Required if using a tooltip. Add an optional tooltip on hover
*/
toolTipContent?: ReactNode;
/**
* Optional configuration to pass to the underlying [EuiToolTip](/#/display/tooltip).
* Accepts any prop that EuiToolTip does, except for `content` and `children`.
*/
toolTipProps?: Partial<Omit<EuiToolTipProps, 'content' | 'children'>>;

Tooltips should also be toggled by keyboard "focus" (which isn't true focus in the case of EuiSelectable)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions