When using clipPathUnits attribute in svgs, svg-react-loader renames this attribute to kebab version clip-path-units, which actually breaks functionality of this attribute.
I've been testing this for hours until found the bug :(
Right now I'm loading this SVG as text and insert as it is, but I guess it will be good to fix this bug.
Hello!
When using
clipPathUnits
attribute in svgs, svg-react-loader renames this attribute to kebab versionclip-path-units
, which actually breaks functionality of this attribute.I've been testing this for hours until found the bug :(
Right now I'm loading this SVG as text and insert as it is, but I guess it will be good to fix this bug.
Example svg:
Expected result - as it is.
Actual result: