Jquery Mobile 1.3 Panel Issue
I am using the new Panel and I need the capability of having certain elements within the panel be expandable. I have implemented with:
- <div data-role="panel" data-position="left" data-position-fixed="false"
- data-display="push" id="nav-panel" data-theme="a">
- <ul data-role="listview" data-inset="false" data-theme="a" data-divider-theme="a" style="margin-top: -16px;" class="nav-search"
- data-count-theme="b">
- <li data-icon="delete" style="background-color: #111;">
- <a href="#" data-rel="close">Close</a>
- </li>
- <li data-icon="back">
- <a href="#demo-intro" data-rel="back">Back</a>
- </li>
- <li data-icon="home">
- <a href="/action/home">Home</a></li>
- </c:if>
- <li class="custom-li">
- <div data-role="collapsible" class="custom-collapsible collapsibleMenu" data-theme="a" data-iconpos="right">
- <h4>Test Category</h4>
- <ul data-role="listview">
- <li>
- <a href="/action/calcExperienceNeeded">Test 1</a>
- </li>
- <li>
- <a href="/action/calcExpNeededFor212">Test 2</a>
- </li>
- <li>
- <a href="/action/calcLevelWithExperience">Test 3</a>
- </li>
- </ul>
- </div>
- </li>
- </ul>
- </div>
-
The problem is that if you try to scroll the panel vertically it sometimes does not scroll if you happen to start scrolling on top of a list item that is collapsible. Is there a better way of making the new panel have collapsible entries?