Link to home
Start Free TrialLog in
Avatar of Jonesey007
Jonesey007

asked on

Html5 IOS app, Page vertical movement stops animation

hi

i am developing my first game and would like it to be cross platform so am using
html5 css3 and javascript -> Phonegap (Cordova)

yesterday i setup a demo app using code from HTML5 Bouncing Ball tutorial
http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/

I built the app in Cordova and deployed to my actual Ipad3

Everything went well and the animation is quick and smooth, the only thing is, if i swipe my finger up or down the screen it moves the page up a centimetre or so. This pauses the animation until i remove my finger and the page snaps back into its usual position.

Does anyone know how i can stop this happening, do i need to put fixed page dimensions in the code, or is there a Cordova property that needs setting.

Thanks for the help
ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial