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

Issues with zero zoom durations #56

Closed
jaukia opened this issue Feb 22, 2013 · 2 comments
Closed

Issues with zero zoom durations #56

jaukia opened this issue Feb 22, 2013 · 2 comments
Labels

Comments

@jaukia
Copy link
Owner

jaukia commented Feb 22, 2013

Hekki Janne,

thank you for your zoomooz plugin.
I am building iPhone apps in html and found your plugin a great help when resizing the content to fit a iPad screen by simply zooming one of the top nodes.

but I have one suggestion:
it is currently not possible to zoom an element instantly, I mean without animation.

When setting the duration to 0, the zoom is animated anyway, and when setting the duration to a tiny value ( ex: 10 or 30 ) then it gives unexpected results.
It seems the element doesn't have time to fully zoom before the end of the timing.

Would be great if you could implement a 'duration zero zoom' in a future update.

All the best
Clément

//

Janne:

Thanks for your feedback! Will consider this.

By using the "nativeanimation:true" and having "duration:0", the animation should happen instantly. This should work on iPhones/iPads.

//

Hello janne,

Unfortunately not, you can clearly see the zoom happening when using
those settings:

                    var settings = {targetsize: 1,scalemode: "both",duration:

0,nativeanimation: true,root: jQuery("#mainWrapper")}
jQuery("#zoomWrapper").zoomTo(settings);

Best regards

Clément

@jaukia
Copy link
Owner Author

jaukia commented Mar 5, 2013

I made an example case for zero-duration animations. I don't see any zooming happening on Webkit browsers. On Firefox there is a small refresh ~1 sec after zooming, but I don't know if there is anything that can be done about it.

Have a look at the example and comment if the problem reproduces in it, what browser you are using and how the problem can be identified:

http://jaukia.github.com/zoomooz/examples/instant/

@jaukia
Copy link
Owner Author

jaukia commented Nov 11, 2013

I tested the example page on Safari, Chrome, Firefox and iOs 7 on iPhone and at least with the current Zoomooz, didn't see any problems with instant animation. Also, haven't received any comments from Clément, so will close this for now.

@jaukia jaukia closed this as completed Nov 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant