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 7938955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:57:09+00:00 2026-06-03T22:57:09+00:00

If you visit this page on your iPad device on the latest version of

  • 0

If you visit this page on your iPad device on the latest version of iOS you can follow along.

http://fiddle.jshell.net/will/8VJ58/10/show/light/

I have two elements with the new -webkit-overflow-scrolling: touch; property and value applied. The left hand grey area has plenty of content and will scroll in portrait or landscape. The right will only scroll in landscape.

If you start in landscape (refresh in landscape) you can scroll both areas with the inertia scrolling. Works great. Now flip your iPad into portrait and only the left hand area will scroll. This is as intended. But when you flip back to landscape the right hand area will no longer scroll at all, whereas the left hand area is fine still.

It’s obvious how to stop this happening, but I don’t always have the content to fill the area.

So any ideas?

Thanks in advance,
Will 🙂

  • 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-06-03T22:57:11+00:00Added an answer on June 3, 2026 at 10:57 pm

    I am actually having the exact same issue. I have narrowed it down to the fact that it affects DIVs whose content’s no longer require scrolling when the orientation is changed.

    In your example. The DIV on the right scrolls in landscape, does not NEED to scroll in portrait, but then needs to scroll again. I have tested this when both DIVs (left and right) need to scroll regardless of orientation and its not a problem.

    UPDATE:

    I actually seem to have fixed this!

    The issue appears to be a timing issue. During resize the inner content is not big enough to warrant scrolling on the outer DIV that has overflow. After wasting a day on this, I finally came up with this hack:

    <div id="header" style="position:fixed; height:100px">Header</div>
    <div id="content" style="overflow: auto; -webkit-overflow-scrolling: touch">
       <div id="contentInner">
          content that is not long enough to always scroll during different orientations
       </div>
    </div>
    

    Here is my logic whenever the page resizes:

       function handleResize()
        {
            var iHeight = $(window).height() - $("#header").height();
    
            // Height needs to be set, to allow for scrolling - 
            //this is the fixed container that will scroll
            $('#content').height(iHeight - 10);
    
            // Temporarily blow out the inner content, to FORCE ipad to scroll during resizing
            // This is a timing issue where the inner content is not big enough during resize post orientation to require the outer DIV to scroll
            $('#contentInner').height(1000);
    
            // Set the heights back to something normal
            // We have to "pause" long enough for the re-orientation resize to finish
            window.setTimeout(delayFix, 10);
    }
    
    function delayFix()
    {
        var iHeight = $(window).height() - $("#header").height();
    
        // Inner divs force the outer div to always have at least something to scroll.  This makes the inner DIV always "rubber-band" and prevents
        // the page from scrolling all over the place for no reason.
        // The height of the inner guy needs to be AT LEAST as big as the container and actually a nip bigger to cause the
        // scrollable area to 'rubber band' properly
        $('#contentInner').height(iHeight + 20);
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As seen in this page: http://developer.apple.com/ios/manage/distribution/index.action , under the Create and download your iOS
Please visit this page : http://portal.acm.org/citation.cfm?id=1531914.1531927&coll=DL&dl=ACM&CFID=34528024&CFTOKEN=57549708 there is a 'Export Formats' section in the
If you visit this page in Firefox 3.6: http://unirazz.com/images/ww/home.html There is a space of
Please visit this link Click on first Image. Now is showing the Modal page
So anytime someone visits this page: http://www.site.com/page/image_(.*).png They get redirected to the cdn url,
Please visit http://domenadesign.com/istra-bike.com with Firefox browser! After a few clicks on the links page
This will blow your mind... Check out http://blue-anvil.com/jquerycurvycorners/test.html using IE Curved corners look nice
Hey guys please check this page . Please visit the page using any browser
I have Your latest 5 visits at the home page of the user when
In settings.py, if I specify STATIC_URL = 'http://68.164.125.221/' , then clients can visit my

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.