-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 shown at wrong place #1976
Comments
Issue is not clear. Do you have a codesandbox or a repo? |
Hi @tugcekucukoglu The reason: when the bottom has not enough space to put the tooltip message, it will be adjusted to the opposite position, but when the opposite position also has not enough space, the tooltip should put it at original place.
|
@tugcekucukoglu , this is corresponding Pull Request |
@oldbig Without seeing the problem, we couldn't accept the PR. The issue might be related to your project. How can I replicate this issue? |
@tugcekucukoglu I agree with you, I will prepare a demo of codesandbox. |
Hi @tugcekucukoglu |
Hi @tugcekucukoglu |
Thanks for the codesandbox example. PR is merged. |
primevue/src/components/tooltip/Tooltip.js
Line 133 in f6fbaeb
primevue/src/components/tooltip/Tooltip.js
Line 153 in f6fbaeb
When moving to the opposite place, if still is out of bounds, it is just displayed at the wrong place. The fixed code should be as follows:
Line 133
Line 153
The text was updated successfully, but these errors were encountered: