-
-
Notifications
You must be signed in to change notification settings - Fork 637
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
React nested SVG elements break the position #1011
Comments
The address code appears to have changed. Can you show which svg is causing the problem? |
I played in moveable code a little bit and was able to get it somewhat working but I'm afraid it would break other stuff. From what I have seen there seem to be some probles in these areas:
|
It may not be a normal structure, but I will try to modify it. Thank you. |
You mean nested SVG may not be a normal structure? |
moveable's new version is released. Check it again. I think svg within svg has a strange structure. A slightly more complicated calculation formula has been added. There may be a problem, but if there is, please let me know in the comments. <svg>
<svg>...</svg>
</svg> |
Environments
Description
Nesting SVG elements breaks the positioning of moveable. getElementInfo(target) returns NaN for most matrixes.
The text was updated successfully, but these errors were encountered: