-
Notifications
You must be signed in to change notification settings - Fork 351
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 is broken when <svg>
is supplied with viewBox
#3414
Comments
Hi @matwey, the toolip positon's coordinate comes from the mouse event coordinate and it uses |
Thanks. I am afraid |
It is still an issue for 3.10.3. |
The issue is still persists in 3.11.1 |
@matwey, would you like contribute fixing this? |
I would but I am not sure how. I mean I don't understand what is the core reason for this behavior. |
Just for information, the issue is this there in 3.13.0: https://jsbin.com/wefihonina/1/edit?html |
@matwey, I'll go over it. |
Fix basic interaction when scale is update with viewBox Ref naver#3414
Description
I am using
billboard.js
3.9.4 and see the tooltip issue when I create the plot as the following:Please note, that I attach
viewBox
attribute to the<svg>
tag. This is done intentionally to achieve scaling behavior I want.When
viewBox
is set then the plot is scaled as a whole. Please mind the difference in the example below.I am not sure if this scenario is supported or not, but everything works fine except the tooltip. The tooltip does not appear at the mouse positions where it should and appears where it should not.
Steps to check or reproduce
Minimal example: https://jsbin.com/luzohuvita/edit?html,output
The text was updated successfully, but these errors were encountered: