Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The rest of the page won't scroll if a page has an iscroll div in it, iPad & iPhone #156

Open
rebecca2227 opened this issue Nov 18, 2015 · 0 comments

Comments

@rebecca2227
Copy link

Below is an example of my code. While the popup works fine and all the content scrolls perfectly within it, the rest of the page won't scroll anymore. It's fine on desktop, but once I bring it onto my iPhone or iPad it won't. It doesn't work in Safari or with Phonegap. Thanks for your time!

    <script src="jquery.js"></script>
    <script src="jquery.mobile-1.4.5.js"></script>
    <script src="iscroll.js"></script>
    <script src="jquery.mobile.iscrollview.js"></script>
<body>
    <div data-role="page" id="pageOne">
        <div data-role="header" data-position="fixed" data-tap-toggle="false" data-transition="none">
            <h1>Page One</h1>
        </div>

        <div data-role="content">
            <div data-role="popup" class="popUp" id="popupDialog" data-overlay-theme="b" data-theme="b" data-dismissible="true" style="width:600px;">
                <div class="header" data-role="header" data-theme="a">
                    <h1>Filter Type</h1>
                </div>

                <div  data-role="content" data-iscroll>
                    <ul data-role="listview" id='tag_list'>
                    <li><a href="#">List item</a></li>
                     ...
                    </ul>
                </div>

                <div class="footer" data-role="footer">
                   <a class="close" href="#" data-rel="back" data-role="button">Close</a>
                 </div>
            </div>   
        </div>

        <div data-role="footer" data-position="fixed" data-tap-toggle="false" data-transition="none">
        </div>    
    </div>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant