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

No support for svg viewbox #86

Closed
kheyse-oqton opened this issue Mar 27, 2018 · 4 comments
Closed

No support for svg viewbox #86

kheyse-oqton opened this issue Mar 27, 2018 · 4 comments

Comments

@kheyse-oqton
Copy link

kheyse-oqton commented Mar 27, 2018

Bug report/Feature request:

Svg viewbox is ignored.
Expect the document/white rectangle in the reactsvgpanzoom element to match the viewbox, but it doesn't.

https://jsfiddle.net/oyLfjeqy/9/

@rajb4y
Copy link

rajb4y commented Aug 21, 2018

Temporary solution to repeat the svg tag, so when component strips the first svg header still second svg will have viewbox on it.

@chrvadala chrvadala added enhancement and removed WIP labels Sep 24, 2018
@TimVanMourik
Copy link
Contributor

I updated @kheyse-oqton's PR #88 to be up-to-date with current version in #150.

@TimVanMourik
Copy link
Contributor

Now you can support this Wish from https://beerpay.io/chrvadala/react-svg-pan-zoom/wishes/5d66366510d9080d4ad89ffa

🍻 Cheers!

@chrvadala
Copy link
Owner

Released with version 3.3.0

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

Successfully merging a pull request may close this issue.

4 participants