webkul / vivid

a JavaScript library which is built to easily customize and use the SVG Icons with a blaze.
https://webkul.github.io/vivid
MIT License
1.81k stars 84 forks source link

Issues displaying multiple of the same icon? #5

Closed LDShadowLord closed 6 years ago

LDShadowLord commented 6 years ago

I have two of the "arrow-left" icons serving as Go Back links. I have one at the top and one at the bottom of the page. Only the bottom icon is displaying, the top icon is vanishing with the entire tag disappearing in the HTML code. It appears that no matter how many of the same icon I put on the page, only the last rendered icon actually displays. I am loading the code from your CDN, and each icon is identical in size and colour. No errors are being logged to console.

ATechAdventurer commented 6 years ago

I just noticed that as well. Here is a codepen demonstrating the issue: https://codepen.io/XXTheEnd32XX/pen/QxpRXr

webkul-nitish commented 6 years ago

This issue has been resolved in v1.0.2