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

Tooltip positioning problems #1737

Open
mrazek-honza5 opened this issue May 2, 2024 · 0 comments
Open

Tooltip positioning problems #1737

mrazek-honza5 opened this issue May 2, 2024 · 0 comments
Labels
question Further information is requested

Comments

@mrazek-honza5
Copy link

Description

Hello. Recently I encountered some weird tooltip positioning problems. I use quite a few of tooltips on various places, sometimes nested in accordions. I had a problem to this day, that I managed to solve by setting the UTooltips popper.strategy to absolute instead of default fixed. When using stragegy fixed, the tooltip did not render at the correct place, but several (hundred) pixels away, as shown at first screenshot. The correct position of the tooltip should be just below the H3 button, that I was hovering on.
Screenshot from 2024-05-02 22-56-25

Adding insult to injury, it got even worse when I scrolled down.
Screenshot from 2024-05-02 22-56-36

I was just wondering, what caused this issue? Could it be that the component in question was rendered inside an accordion? I did not get this issue when rendering the same component outside of accordion, so I suppose its that. The last thing I want to ask is whether the absolute strategy brings some limitations? I checked throughout the application, but I didn't find any problematic places.

Thanks for any answers and awesome work you guys are putting into this project.

@mrazek-honza5 mrazek-honza5 added the question Further information is requested label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant