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
When an SVG has a style prop and raw is set, the library errors due to React trying to map style to the <svg>.
Adobe Illustrator produces SVG's with style tags set and it would be nice to handle these.
@sairion Was curious if you've gotten a chance to take a stab at this. I noticed that this seems to affect webpack 5 specifically. As after upgrading from 4 I noticed this bug with my app.
When an SVG has a
style
prop andraw
is set, the library errors due to React trying to mapstyle
to the<svg>
.Adobe Illustrator produces SVG's with style tags set and it would be nice to handle these.
Here's an example: https://codesandbox.io/s/floral-sound-nn1vl?file=/src/App.js
@sairion I would be willing to open a PR for this issue if that's alright
The text was updated successfully, but these errors were encountered: