Thanks for the response but i have that meta tag in place
this double tap (quick tap) forces the tapped area into the center of the screen so it is a scroll. I have a oversize div which i am using a touchmove to navigate around so a real scroll it a real problem. On Dec 24, 7:37 am, Chrilith <[email protected]> wrote: > > Is the a way to prevent the screen moving to the center where you have > > double tapped > > Double tap usually mean "zoom" with Mobile Safari. > > > > > I have tried using preventDefault() on the whole document but that > > causes me problems elsewhere > > If you want to design an webapp meant to work on iOS devices you > should use the "viewport" meta tag to constraint the behavior of your > pages. > For instance: > > <meta name="viewport" content="width=device-width; initial-scale=1.0; > maximum-scale=1.0; user-scalable=0;" /> > > This will prevent zoom whether using double tap or pinch. -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
