You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I include more than one of the same SVG and that SVG uses clip-path="url(#ar-clip0)" they will end up using the same clip-path. This causes the first SVG to disappear as it's referencing the second SVGs clip-path.
Describe the bug
If I include more than one of the same SVG and that SVG uses
clip-path="url(#ar-clip0)"
they will end up using the same clip-path. This causes the first SVG to disappear as it's referencing the second SVGs clip-path.We need to find a way to process the SVG and create unique ids for the SVG. Currently, we're using https://github.com/airbnb/babel-plugin-inline-react-svg with
svgo
to inline the SVGs. They are aware of the issue but there hasn't been a proposed fix because of some conflicts with the latest version ofsvgo
airbnb/babel-plugin-inline-react-svg#57To Reproduce
Expected behaviour
Both SVGs are visible.
The text was updated successfully, but these errors were encountered: