Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: When Tooltip overlaps on surrounding charts, the zindex seems to be too low #1066

Open
alexbalonperin opened this issue May 27, 2024 · 1 comment · May be fixed by #1087
Open

[Bug]: When Tooltip overlaps on surrounding charts, the zindex seems to be too low #1066

alexbalonperin opened this issue May 27, 2024 · 1 comment · May be fixed by #1087
Labels
Type: Bug Confirmed bug, something is not working as intended

Comments

@alexbalonperin
Copy link

Tremor Version

3.17.2

Link to minimal reproduction

https://stackblitz.com/edit/stackblitz-starters-phbnaf?file=app%2Fpage.tsx

Steps to reproduce

  • Create at least two charts on the same page next to each other
  • Make the text on the tooltip from the chart on the left longer than the chart width so that it overlaps with the chart on the right
  • You should see that the tooltip shows above all elements of its own chart but it appears to have a transparent background above the chart on the right

Obviously, the smaller the screen the more apparent this bug is as long as there are at least two charts next to each other.

What is expected?

I would expect that the tooltip zindex is set to a very high value so that it's always above all elements including other charts

What is actually happening?

The tooltip's content is half hidden behind the surrounding chart.

Please watch the following loom video for a clearer view of the issue: https://www.loom.com/share/06788a5787c0476db3d2b6bc880eb246?sid=be9da96c-683e-4859-b7a3-8316a087bd62

What browsers are you seeing the problem on?

Chrome

Any additional comments?

No response

@severinlandolt
Copy link
Member

Thanks for the video, super helpful! Will check this for next fix version!

@severinlandolt severinlandolt added the Type: Bug Confirmed bug, something is not working as intended label May 29, 2024
@Sho-ki Sho-ki linked a pull request Jun 17, 2024 that will close this issue
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Confirmed bug, something is not working as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants