Ipad + jquery + animation?

I'd like to know immediately the issue:

Write website for ipad and need to make a page flip effect when you slide your finger. All good, simple code made simple:

element.animate( {'left': offset}, 'slow', function(){ /*end code*/ }

When the slide element is displaced in the direction of the desired offset, looks nice and works well, but!

If the slide is to keep your finger horizontally and not down slope, then Safari begins to move the entire site (completely whole, he has his own container and move) and the site sezzhaet down, and this action he scores on JS and rendering, it turns out that the timer itself is running, change CSS elements, but visually it is not visible, because at the moment the animation works the Safari (offset down/up) when the animation stops Safari, I see only the result of their work...

Maybe someone had this happen, can someone has fought this prophetic.


If you do not understand, tell, explain easier.
October 8th 19 at 03:06
1 answer
October 8th 19 at 03:08
Thank you =) suddenly the decision came at the stupidity of my stupid )
event.originalEvent.preventDefault(); At the start of the slide solve all the problems.

Find more questions by tags AnimationiPadSliderSafari