Is it possible to prevent certain elements (for example <text>) from scaling, ie preserving their original size?
This should be possible by using vectorEffect="non-scaling-stroke" (https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/vector-effect) however this seems to be ignored when used inside <ReactSVGPanZoom>.
Is it possible to prevent certain elements (for example
<text>
) from scaling, ie preserving their original size? This should be possible by usingvectorEffect="non-scaling-stroke"
(https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/vector-effect) however this seems to be ignored when used inside<ReactSVGPanZoom>
.