Skip to content

[EuiTooltip] Add an "alwaysVisible" prop #5013

@sebelga

Description

@sebelga

In elastic/kibana#107292 @cchaos suggested to use a tooltip to give instruction on how to interact with the keyboard on a component. This works well except that, when the tooltip is shown if we mouse out it disappears.

I suggest that we add a new alwaysVisible optional prop to the <EuiToltip /> component which will always display the tooltip and not react to mouse events. The consumer would then be responsible to hide it if needed.

Metadata

Metadata

Assignees

No one assigned

    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