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

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

Tooltip positioning problems #1737

mrazek-honza5 opened this issue May 2, 2024 · 2 comments
Labels
question Further information is requested upstream wontfix-v2 This will not be fixed in `v2.x`.

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
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jul 22, 2024
@benjamincanac benjamincanac added wontfix-v2 This will not be fixed in `v2.x`. and removed stale labels Mar 24, 2025
@benjamincanac
Copy link
Member

This issue might happen because of popper.js which we cannot fix unfortunately.

@benjamincanac benjamincanac closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested upstream wontfix-v2 This will not be fixed in `v2.x`.
Projects
None yet
Development

No branches or pull requests

2 participants