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
Describe the bug
When trying to fill in various attributes of an SVG element using the spread operator I get a read-only error. This seems like it might be related to the closed issue of #1664. If I explicitly set the attributes from an object, the SVG element renders just fine.
Describe the bug
When trying to fill in various attributes of an SVG element using the spread operator I get a read-only error. This seems like it might be related to the closed issue of #1664. If I explicitly set the attributes from an object, the SVG element renders just fine.
Failing script: https://svelte.dev/repl/a9c3d921ed4e4ab7923d64d30ed3a497?version=3.9.2
A similar script that works: https://svelte.dev/repl/62e182c229f24c2ea5bd77d307de266f?version=3.9.2
Logs
When I try the failing script above, I get this error:
Cannot assign to read only property 'x' of object '#<SVGRectElement>'
Severity
I am trying to use Svelte to work with dynamic SVG elements, so this is a major blocker.
The text was updated successfully, but these errors were encountered: