-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
GJS/GTS components break when rendering an <svg>
that contains <linearGradient>
#229
Comments
Hi. For reference, here is the same issue in the glimmer-vm repo: glimmerjs/glimmer-vm#1550. I was not sure where to post it, either:) |
I think this can be closed, as emberjs/babel-plugin-ember-template-compilation#33 fixes this issue. Make sure to update your lockfile to have I did however see some other regressions with that version, will report over there. Just mentioning, as this might block upgrading for now... |
👋 Hi.
I think I've raised this in the correct repo. If not, let me know where is the appropriate place and I'll raise it there.
It seems that when I try and render an inline svg that includes a
<linearGradient>
, the app blows up with:I have made a minimal reproduction here: https://stackblitz.com/edit/ember-cli-editor-output-rvl1ph?file=app%2Ftemplates%2Fapplication.hbs
There are two components rendering svgs. One that works and one that does not.
This is the simple working svg that does not include a gradient
This is the same circle with a gradient.
The latter svg breaks with he error above.
I am using:
The text was updated successfully, but these errors were encountered: