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]: Tooltip for Right Click Menu - Improperly Layered Behind #7514

Open
1 task done
Ayelwen opened this issue Jan 3, 2025 · 1 comment
Open
1 task done

[bug]: Tooltip for Right Click Menu - Improperly Layered Behind #7514

Ayelwen opened this issue Jan 3, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Ayelwen
Copy link

Ayelwen commented Jan 3, 2025

Is there an existing issue for this problem?

  • I have searched the existing issues

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

RTX 3090

GPU VRAM

24GB

Version number

5.5.0

Browser

N/A

Python dependencies

N/A

What happened

Right click raster layer, menu popped up but the tooltip is behind the menu instead of in front:
image

What you expected to happen

Tooltip would be on top

How to reproduce the problem

Right click a raster layer with the Mouse pointer button (4th button on the verticle menu)

Additional context

No response

Discord username

ayelwen

@Ayelwen Ayelwen added the bug Something isn't working label Jan 3, 2025
@psychedelicious
Copy link
Collaborator

This is a bit finicky to fix. There appears to be no direct way to change the z-index of the tooltip, as a consequence of the interaction between popper and chakra.

I think we need to update the tooltip theme with an additional variant that has a higher z-index value, then use that variant in the <IconMenuItem /> component's tooltip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants