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

It not support xlink:href for svg? #465

Open
ghost opened this issue Oct 16, 2023 · 1 comment
Open

It not support xlink:href for svg? #465

ghost opened this issue Oct 16, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 16, 2023

Expected behavior

in Vite project, i use plugin vite-plugin-svg-icons to handle svg and render,

and svg will render

<svg >
  <use xlink:href="#icon-3d"></use>
</svg>

#icon-3d has mounted in body with Symbol

dom-to-image didn't handle this situation

Actual behavior (stack traces, console logs etc)

Library version

"dom-to-image": "^2.6.0",
"vite-plugin-svg-icons": "^2.0.1"

Browsers

  • [ ] Chrome 117.0.5938.134
@Mashiirox
Copy link

i have the some problem

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