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

svg elements disappeared when wheel or drag #73

Open
SeanSure opened this issue Jun 10, 2020 · 1 comment
Open

svg elements disappeared when wheel or drag #73

SeanSure opened this issue Jun 10, 2020 · 1 comment

Comments

@SeanSure
Copy link

i import svg.panzoom.js in vue2.0 webpack 4.0 environment,but all svg elements disappeared when mousewheel or drag.
image

@Fuzzyma
Copy link
Member

Fuzzyma commented Jun 10, 2020

make sure to set a viewbox at start. It can be as simple as 0 0 ${width} ${height}

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

2 participants