We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Left and right tooltip arrow is moving when hovering the button that triggers this tooltip instead of being directly centered
You can reproduce the issue with your current version of the portal: https://ng-bootstrap.github.io/#/components/tooltip/examples#basic by just hovering the left or right tooltip.
First the arrow is displayed not centered with the button. Then some time later, it moves to the center of the button
Angular: 13
ng-bootstrap: 12.1.1
Bootstrap: 5
The text was updated successfully, but these errors were encountered:
Definitely something animation-related
Another observation is that with reduced motion it is never positioned correctly until CD runs (ex. on click)
Sorry, something went wrong.
fix(tooltip): schedule positioning calculations correctly
51259d9
Popper is now created outside Angular and updates are scheduled only after tooltip is shown. Fixes ng-bootstrap#4321
1d96323
662f2b6
Popper is now created outside Angular and updates are scheduled only after tooltip is shown. Fixes #4321
Successfully merging a pull request may close this issue.
Bug description:
Left and right tooltip arrow is moving when hovering the button that triggers this tooltip instead of being directly centered
Link to minimally-working StackBlitz that reproduces the issue:
You can reproduce the issue with your current version of the portal: https://ng-bootstrap.github.io/#/components/tooltip/examples#basic by just hovering the left or right tooltip.
First the arrow is displayed not centered with the button. Then some time later, it moves to the center of the button
Versions of Angular, ng-bootstrap and Bootstrap:
Angular: 13
ng-bootstrap: 12.1.1
Bootstrap: 5
The text was updated successfully, but these errors were encountered: