Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I exempt certain elements from scaling? #173

Open
dominiczy opened this issue Apr 13, 2020 · 0 comments
Open

Can I exempt certain elements from scaling? #173

dominiczy opened this issue Apr 13, 2020 · 0 comments

Comments

@dominiczy
Copy link

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>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant