jpkleemans / vite-svg-loader

Vite plugin to load SVG files as Vue components
MIT License
584 stars 61 forks source link

multiple modified instances #114

Open foofel opened 1 year ago

foofel commented 1 year ago

Hey, I am adding a SVG as component to my tree, that works as expected. If I then manipulate that SVG (e.g. different fill for some rects) and add it again, the second instance has the changes done to the first SVG. It looks like i am not actually creating different instances of the SVG. Any ideas?

kuthq commented 11 months ago

I have the same issue, that SVGs are manipulating each other, even if the path ids are different

jpkleemans commented 10 months ago

Hi, could you create a Sandbox to reproduce the problem? Then i'll look into it

mengfei-nie commented 7 months ago

who solved it? please share your solution.