Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6661097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:14:14+00:00 2026-05-26T02:14:14+00:00

The usual: document.body.addEventListener(‘touchmove’,function(event){event.preventDefault();},false); isn’t working for me. I am trying to make my iPad

  • 0

The usual:

document.body.addEventListener('touchmove',function(event){event.preventDefault();},false); 

isn’t working for me. I am trying to make my iPad webapp feel as native as possible.
Any answer is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T02:14:14+00:00Added an answer on May 26, 2026 at 2:14 am

    Put that handler on the document element directly, not on the body.

    I’ve had success with the following:

    <meta name="viewport" content="user-scalable=1.0,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    

    Then with jQuery:

    $(document).bind('touchmove', false);
    

    This will also be useful if you want to handle different orientations:

    <link rel="stylesheet" type="text/css" href="css/main.css" media="all">
    <link rel="stylesheet" type="text/css" href="css/landscape.css" media="all and (orientation:landscape)">
    <link rel="stylesheet" type="text/css" href="css/portrait.css" media="all and (orientation:portrait)">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an XHTML 1.0 Strict document in which I'm trying to make Shadowbox
as usual I'm working with my messed up database and I found that there
I'm currently working on a simple wxPython app that's essentially document based. So far
How to search document by range with MongoDB driver for C#? usual query in
I am trying to use Sphinx to document a Python project of mine, but
I have the usual Jquery datepicker working fine. But I want to feed it
I'm pulling my hair out trying to get a jQuery script working that will
I'm trying to document a work flow with a series of screen shots. At
The usual method of URL-encoding a unicode character is to split it into 2
As usual, some background information first: Database A (Access database) - Holds a table

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.