Skip to content

fix tooltip position over charts - #3222

Open
pory-gone wants to merge 1 commit into
stackernews:masterfrom
pory-gone:tooltipposition
Open

fix tooltip position over charts#3222
pory-gone wants to merge 1 commit into
stackernews:masterfrom
pory-gone:tooltipposition

Conversation

@pory-gone

Copy link
Copy Markdown
Contributor

Description

Fixes #3122.
The analytics tooltip was rendered behind the charts of the rows below it. The fix sets wrapperStyle={{ zIndex: 1 }} on the tooltips. A positive z-index moves the tooltip into the layer painted after all z-index: auto positioned elements, regardless of DOM order. 1 is enough and stays well below the sticky nav.

Screenshots

before
Schermata del 2026-09-07 11-12-26
after
Schermata del 2026-09-07 11-12-35

Additional Context

Applied to all four charts since they share the same layout and the same latent bug.

Checklist

Are your changes backward compatible? Please answer below:

yes

On a scale of 1-10 how well and how have you QA'd this change and any features it might affect? Please answer below:
8/10

For frontend changes: Tested on mobile, light and dark mode? Please answer below:

yes

Did you introduce any new environment variables? If so, call them out explicitly here:

no

Did you use AI for this? If so, how much did it assist you?

yes, to locate the bug, study the current behavior and propose a fix.

@pory-gone
pory-gone marked this pull request as ready for review September 7, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Analytics tooltip is not correctly positioned

1 participant