Open yankeeinlondon opened 2 years ago
I have a Vue component which has used the renderSVG's options hash to set width and height like so:
renderSVG
Iconify.renderSVG(props.icon, props.kind === "icon" ? { width: "100%", height: "100%" } : {})
This had been working but seems to have broken in more recent versions. Instead of the SVG getting the targeted height/width props it now just gets 1rem/1rem which is the default. Should be incredibly easy to reproduce.
I have a Vue component which has used the
renderSVG
's options hash to set width and height like so:This had been working but seems to have broken in more recent versions. Instead of the SVG getting the targeted height/width props it now just gets 1rem/1rem which is the default. Should be incredibly easy to reproduce.