adobe/aem-boilerplate

SVG Icon does not get rendered properly

vaibhav2601 opened this issue ยท 2 comments

ramboz commented

When icons use the same id property for various groups in their markup, we actually end up having id clashes in Chrome (at least). This would probably both apply to inlined (styled) SVGs and the sprite version, as both end up adding HTML nodes with clashing id properties.

One possible approach would be to rewrite all identifiers in the SVGs when we inline them, and prefix with the icon name for instance.

๐ŸŽ‰ This issue has been resolved in version 1.3.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€