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
Originally posted by @tsairinius August 29, 2024
In the following example, I am calling d3.pointer inside of a 'zoom' event handler. The zoom behavior is being applied to an SVG element. When I call the zoom behavior's scaleTo method, the following error occurs in Firefox (Chrome and Edge seem to work fine):
"TypeError: SVGPoint.x setter: Value being assigned is not a finite floating-point value."
I've also tried replacing scaleTo with scaleBy and transform, but the same error pops up.
Discussed in d3/d3#3907
Originally posted by @tsairinius August 29, 2024
In the following example, I am calling d3.pointer inside of a 'zoom' event handler. The zoom behavior is being applied to an SVG element. When I call the zoom behavior's
scaleTo
method, the following error occurs in Firefox (Chrome and Edge seem to work fine):"TypeError: SVGPoint.x setter: Value being assigned is not a finite floating-point value."
I've also tried replacing
scaleTo
withscaleBy
andtransform
, but the same error pops up.See example here: https://jsfiddle.net/nLt523mj/
The text was updated successfully, but these errors were encountered: