Skip to content
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

cannot set a class on a svg_elt "svg" #40

Open
tcoopman opened this issue Jul 21, 2021 · 0 comments
Open

cannot set a class on a svg_elt "svg" #40

tcoopman opened this issue Jul 21, 2021 · 0 comments

Comments

@tcoopman
Copy link
Contributor

tcoopman commented Jul 21, 2021

when setting class_ on a svg_elt "svg" I get the following error:

Uncaught TypeError: setting getter-only property "className", same thing happens with viewBox

It seems that for svg, you need to set this differently: https://stackoverflow.com/questions/37943006/unable-to-change-class-name-of-svg-element

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant