Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to stop scrolling inside panel and only allow listview to scroll
    text
    copied!<p>i have a panel that contains a div that needs to not scroll when someone is scrolling down the listview, as is stands right now when i scroll it scrolls the whole entire panel. Im using Intel XDK NEW with App Framework 2.0, jQuery and JQM. Here is what i have please see comments</p> <pre><code>&lt;div id="home" class="panel" data-nav="home-nav" data-load="loadDashData"&gt; &lt;header&gt; &lt;h1&gt;test&lt;/h1&gt; &lt;/header&gt; &lt;div id="dashUserInfo" class="user-info"&gt; //THIS IS THE DIV I DONT WANT SCROLLING &lt;div class="white-strip"&gt; &lt;h1 id="dashUserFullName" class="user-fullname"&gt;Aaron Russell&lt;/h1&gt; &lt;h2 id="dashNotifications" class="user-new-notification-count"&gt;no new notifications&lt;/h2&gt; &lt;/div&gt; &lt;div id="dashAvatarHolder" class="avatar"&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="listHolder"&gt; // THIS IS THE ONLY THING THAT SHOULD SCROLL &lt;ul id="dashList" class="list"&gt; &lt;/ul&gt; &lt;/div&gt; &lt;footer&gt; &lt;a href="#home" style="float:left;" id="tabButton" class="atme-icon-home active-icon" data-transition="none"&gt;&lt;/a&gt; &lt;a href="#inbox" id="tabButton" class="atme-icon-chat-empty" data-transition="none"&gt;&lt;/a&gt; &lt;a href="#contact" style="float:right;" id="tabButton" class="atme-icon-user" data-transition="none"&gt;&lt;/a&gt; &lt;/footer&gt; &lt;/div&gt; </code></pre> <p>I have tried every possibility for setting the <code>.user-info</code> to fixed adding a margin-top to the listview. THat did not work. I tried the style="overflow: hidden" technique commonly used on panels to stop scrolling on the panel then adding style="overflow:visible" to the listview i want to scroll, that failed as well. I dont know what to do now.</p> <p>Maybe a jQuery script i can call to the div that i dont want to scroll? </p> <p>EDIT: i thought of a way i could do it, i could disable all scrolling through the app and only enable it on listview divs with a specific class... however im not familiar how to acheive the last part happen. I know how to disable all native scrolling...</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload