laviastar / iscroll-js

Automatically exported from code.google.com/p/iscroll-js
MIT License
2 stars 2 forks source link

If height of iScroll Carousel is large, vertical scroll is disable (for touch mobile devices) #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Take the example from http://cubiq.org/dropbox/iscroll4/examples/carousel/
2. Increase height of the wrapper div 
3. try to scroll vertically on the any android mobile device.

What is the expected output? What do you see instead?
Vertical scroll should not be disable while vertical scroll is more than 10px.

What version of the product are you using? On what operating system?
iScroll v4.1.9

Please provide any additional information below.
Please check attachment.

Original issue reported on code.google.com by vin...@julysystems.com on 15 Nov 2011 at 12:23

Attachments:

GoogleCodeExporter commented 9 years ago
i fixed it by removing "if (that.options.onBeforeScrollStart) 
that.options.onBeforeScrollStart.call(that, e);" line from the _start: function 
(e) {} and adding "if (m.abs(deltaY) < 10) 
that.options.onBeforeScrollStart.call(that, e);" line just before "if 
(that.options.onBeforeScrollMove) that.options.onBeforeScrollMove.call(that, 
e);" line in the _move: function (e) {} function.

Original comment by vin...@julysystems.com on 15 Nov 2011 at 12:36