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
If the page transforms the plotDiv element with a scale, rotation, or matrix, any call to getBoundingClientRect on an element within that div gives us misleading results and breaks hover effects. Certain getBoundingClientRect calls are necessary to find text sizing, but this should always be called on elements in gd._tester, which we attach directly to <body>, far off-screen. We should get rid of all other getBoundingClientRect calls. This will also be better for performance.
Calling this a bug, but we could also consider it a feature ("Add support for CSS transforms on the plotDiv and its parents")
The text was updated successfully, but these errors were encountered:
If the page transforms the
plotDiv
element with a scale, rotation, or matrix, any call togetBoundingClientRect
on an element within that div gives us misleading results and breaks hover effects. CertaingetBoundingClientRect
calls are necessary to find text sizing, but this should always be called on elements ingd._tester
, which we attach directly to<body>
, far off-screen. We should get rid of all othergetBoundingClientRect
calls. This will also be better for performance.Calling this a bug, but we could also consider it a feature ("Add support for CSS transforms on the plotDiv and its parents")
The text was updated successfully, but these errors were encountered: