Issue 25: page not scrolling if touchStart is within the iscroll area
Status:  Done
Owner:
Closed:  Sep 2010
Reported by patrick....@gmail.com, Sep 2, 2010
What steps will reproduce the problem?
1. create a page that will require scrolling
2. use a fixed width/height iscroll area
3. if your finger is within the iscroll area on touch start you cannot scroll up or down

What is the expected output? What do you see instead?
I would expect to see the page scroll, it does not.

What version of the product are you using? On what operating system?
This is on the latest iscroll I have tested in only on iOS 4 in the iphone sim

Please provide any additional information below.
I did find a fix for this by commenting out the e.preventDefault(); on the touchStart function around line 220. Perhaps a disableTouchEvents option (defaulting to true) would be a good solution to it.

Here is a demo of the original iscroll you cannot scroll this page if you first touch in the iscroll area. http://dev.patrickarlt.com/iscroll/examples/originalcarousel/

this is a demo using a modified version of iscroll that i made, You can now scroll the page up and down even if you start the scroll gesture in the iscroll area. http://dev.patrickarlt.com/iscroll/examples/originalcarousel/

i have attached the modified js file I made to this issue my changes are on lines 38, 217-220, and 269-271
modifiediscroll.js
19.3 KB   View   Download
Sep 2, 2010
Project Member #1 mat...@gmail.com
One may need a carousel with vertical scroll. The solution for your specific problem is good, thanks for sharing, but this is not actually an iscroll issue, more like a customization you needed.
Status: Done
Owner: matt3o
Nov 15, 2010
#3 ldsilic...@gmail.com
Well done, good stuff. @lucas_ds
Mar 4, 2011
#4 jpre...@msn.com
Nice WORK MAN!!
Aug 13, 2011
#5 brampton
In iScroll 4, this problem can be avoided by setting the onBeforeScrollStart property to null when creating the iScroll object.