-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Exception] Uncaught DOMException: Failed to read the 'value' property from 'SVGLength' #19
Comments
Reproduction:
|
There is an similar issue open on d3-timer (same error message) This could be the source of our issue too. |
Above a certain number of nodes (default = 420), Force horse operates a requestAnimationFrame() call of its own. I thought the problem could be related to this. But I see that the problem happens also for e.g. 200 nodes. So the root problem still seems to be inside d3.js. |
same here, did anyone find a solution? |
I am doing |
adding
i don't know why it's working 🥇 |
I stumbled over this when searching for the error message, and it provided the correct hint. The Readme for zoom.extent states: see: https://github.com/d3/d3-zoom/blob/main/README.md#zoom_extent For me, the error was shown because the SVG was loaded in a different tab and this possibly causes the width/height to be 0. |
saved my life |
hi,
getting this exception after passing data to force-horse, I am passing data a number of times in a second - I guess it causes the issue:
the exception:
The text was updated successfully, but these errors were encountered: