Skip to content

Tooltip portal z-index can render behind flyouts #2838

@mbondyra

Description

@mbondyra

Summary

Image

When Elastic Charts is rendered inside an agent flyout, the chart tooltip portal can appear behind flyout because the portal uses a relatively low z-index.

The Elastic Charts tooltip portal (echTooltipPortalMainTooltip) renders with z-index: 100, while Kibana's layout sidebar/flyout-adjacent chrome uses higher overlay levels, for example layoutLevels.sidebar = 1050 and EUI flyouts are around 1000. As a result, the chart tooltip can be clipped visually behind the Kibana overlay/chrome instead of appearing above the chart content.

Expected behavior

The chart tooltip should appear above the chart and the immediate overlay/container it is rendered within, even when the host application uses flyouts/sidebars with z-index values above 100.

Metadata

Metadata

Assignees

No one assigned

    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