Screenshot
Hovering over the chart header area (but not directly on the chart title link) — the tooltip is repeatedly flickering:
Hovering directly over the chart title link — tooltip stays visible as expected:
Description
When hovering the mouse cursor over the chart header area (but not directly on the chart title link), the tooltip repeatedly shows and hides, causing a flickering effect.
Steps to reproduce: 1. Open a dashboard containing a chart. 2. Hover the mouse cursor over the chart header (not directly on the title link). 3. Observe the tooltip continually appearing and disappearing. 4. Now hover directly over the chart title link — tooltip stays visible as expected.
Comment From: dosubot[bot]
This flickering happens because the tooltip for the chart header is controlled by logic that checks if the title overflows its container or if the user can explore the chart. When you hover near—but not directly on—the title link, small changes in mouse position can cause the overflow check to rapidly toggle, which mounts and unmounts the tooltip repeatedly and results in flickering. The tooltip is only stable when hovering directly over the title link because the hover zone and DOM structure are better aligned there. This is a subtle UI bug caused by the combination of auto-overflow detection and immediate tooltip state changes, without any debounce or buffer to smooth out the transitions. The relevant logic lives in the SliceHeader
component, which wraps the title in a tooltip and updates its content based on DOM measurements and permissions logic
see source.
There are no existing tickets or discussions tracking this specific flickering issue. Recent tooltip-related changes (like HTML sanitization) do not address this behavior. If you need to address this, reviewing the overflow detection and tooltip mount/unmount logic in SliceHeader
would be the place to start.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
Comment From: rusackas
Thanks for the PR @amaannawab923 - @VasilijeBursac feel free to test/review it!