You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is not an issue with your library, but an issue in Chrome: the coordinates are wrong for tspan, as getBBox returns the coordinates of the containing text element instead. Reported to the Chromium team here:
There seems to be a workaround, using other techniques. I thought I'd just mention it in case you wanted to include a fix for that in your library, but it's entirely up to you :) Thank you.
The text was updated successfully, but these errors were encountered:
This plugin is obsolte with svg.js v3 (I think even in 2.x??). Just use rbox().
And yes, chrome only recently fixed this. I stumbled across exactly that issue a week ago because the fix is not in out in the wild yet
Hello,
this is not an issue with your library, but an issue in Chrome: the coordinates are wrong for tspan, as getBBox returns the coordinates of the containing text element instead. Reported to the Chromium team here:
https://bugs.chromium.org/p/chromium/issues/detail?id=349835&q=tspan%20bbox&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified
There seems to be a workaround, using other techniques. I thought I'd just mention it in case you wanted to include a fix for that in your library, but it's entirely up to you :) Thank you.
The text was updated successfully, but these errors were encountered: