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

Most SVG path attributes disappear on rendering #53

Open
JanDoerrenhaus opened this issue Feb 7, 2022 · 0 comments
Open

Most SVG path attributes disappear on rendering #53

JanDoerrenhaus opened this issue Feb 7, 2022 · 0 comments

Comments

@JanDoerrenhaus
Copy link
Contributor

When a template is rendered by flare, it is being parsed into an object tree. The corresponding class for SVG paths is this one which only supports the two attributes d and pathLength. The standard lists quite a lot more attributes, but they all get discarded by this parsing process, resulting in visually broken SVG being rendered.

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