-
Notifications
You must be signed in to change notification settings - Fork 387
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
iOS support #223
Comments
Thanks for the bug report. First thing to check is whether this is a If not, then could it be we have to use different speed factors just for On Oct 11, 2016 8:40 PM, "Mehdi Guelloub" notifications@github.com wrote:
|
It could also simply be a performance delta between devices or between mobile Safari and Android Browser or Chrome. I've implemented fairly large-scale systems using svg-pan-zoom on mobile with hammer, and had no problems. But I have noted that iOS devices are much less performant at rendering complex SVG; performance drops off markedly as the number of elements rises. OP it would be helpful if you could identify OS versions, device types, and say something about the complexity of your image. On Oct 12, 2016, at 5:34 AM, Anders Riutta <notifications@github.commailto:notifications@github.com> wrote: Thanks for the bug report. First thing to check is whether this is a If not, then could it be we have to use different speed factors just for On Oct 11, 2016 8:40 PM, "Mehdi Guelloub" <notifications@github.commailto:notifications@github.com> wrote:
You are receiving this because you are subscribed to this thread. |
Team, Is the support for iOS is increased? I am working on a project with big SVG files in WebView, If i use SVG Pan, i am getting issues in Zoom In and Zoom Out |
Hi @KiranMantana, I'd suggest forking the lib and changing the zoom speed factor for iOS. If that doesn't work, you may need to lower the refresh rate. I'm not sure exactly where the problem is coming from, but pull requests are welcome! |
You can change the refresh rate by using |
I can confirm that pinch & zoom does not work in Safari on the iPad mini. I am happy to work on this issue, @ariutta Has anyone started, as far as you know? To reproduce: Go to this jsfiddle with Safari (or Chrome) on iPad Mini: http://jsfiddle.net/bumbu/167usffr/ It does work, however on all other browsers that I have been able to test. |
After further investigation, I see that zooming in this demo does work for iOS. Apparently the trick is to wire it up to hammer.js
|
First of all I want to thank you for this amazing plugin. but i guess that the svg-pan-zoom is not supported by iOS i have tested it on both iphone and ipad and there is the same issue.
The gesture are not working as expected(exp pinch, pan ...) when i try to pan the image moves very very slowly.
PS: same code tested on browser and on android and it works perfectly.
The text was updated successfully, but these errors were encountered: