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

Adding class to an SVG displays error #639

Closed
ruslansteiger opened this issue Jan 19, 2020 · 0 comments
Closed

Adding class to an SVG displays error #639

ruslansteiger opened this issue Jan 19, 2020 · 0 comments

Comments

@ruslansteiger
Copy link

ruslansteiger commented Jan 19, 2020

Version

3.0.0-alpha.1

Reproduction link

https://github.com/SuddenlyRust/svg-classname

Steps to reproduce

npm run serve

Add 'bg-green-500' to the svg class in App.vue

What is expected?

Class is applied to SVG.

What is actually happening?

Following error message appears in the console
TypeError: Cannot assign to read only property 'className' of object '#'

image


Refreshing the browser with F5 and the class gets applied correctly.

yyyanghj pushed a commit to yyyanghj/vue-next that referenced this issue Jan 20, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant