-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 property className of #<SVGElement> which has only a getter #414
Comments
Is there any Snap in there ? |
I stumbled over the same problem a couple of days ago. SVG elements don't
|
Use baseVal: foo.className.baseVal = 'foo bar' |
|
The full error in the browser console in this
I am trying to put a class with Javascript everytime an action happens, this is the code
and then changed that code to only this in my Reactjs app
and the same error comes up . . .
HTML
so, I don't know what is going on here. any suggestions ?
The text was updated successfully, but these errors were encountered: