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 I use the SvgLoaderSelectElement with a selector and set fill or stroke, this is ignored because the style mentioned above apparently overrides it. It works with other props such as visibility, since they are not set globally in the SVG.
If you disagree that this is the way it should behave, are there any hacks I can apply to get it how I want?
The text was updated successfully, but these errors were encountered:
Under the hood, SvgLoaderSelectElement is using react-svgmt's SvgProxy component to select and apply the inline style. Maybe you can move the path style into inline style as props or import as style ?
My SVG file has this style:
When I use the
SvgLoaderSelectElement
with a selector and set fill or stroke, this is ignored because the style mentioned above apparently overrides it. It works with other props such asvisibility
, since they are not set globally in the SVG.If you disagree that this is the way it should behave, are there any hacks I can apply to get it how I want?
The text was updated successfully, but these errors were encountered: