Closed noisysocks closed 13 years ago
Also occurs on iPad
Same here on Iphone and Android
I believe this was introduced with jquery/jquery-mobile@6711e11e972760ad0ebb03f4fdc0d9ef9b2ff9c6
collapsibleHeading.bind( $.support.touch ? "touchstart" : "click", function(){
changing "touchstart"
to "tap"
does seem to fix the scrolling issue, though it seems to introduce some weird and random behavior as to whether the collapsible will actually expand/collapse or just appear to refresh the page.
In this regression, when you try to scroll the page, not only does it not scroll, it triggers the item to expand or collapse. Confirmed on iOS devices.
switched collapsibles over to tap event. Closed by f90d6cd5fbd36c9a53b9251563d5c880750bde80
This does fix the scrolling issue but introduces another bug. Click on the collapsible example and you will see it expand then collapses immediately. For some reason it is triggering a click event and may be refreshing the page.
We're very close to landing a completely new event system so this may be fixed then. Debugging this now may not make sense since it's going to be replaced...
On iPhone (possibly other devices) using 1.0a3, when scrolling, if you begin your touch scroll gesture on a div with data-role="collapsible", no scrolling will occur and the collapsible will also toggle open/closed. The only way to use the page is to start a scroll away from the collapsible.
http://jquerymobile.com/test/#docs/content/content-collapsible.html