My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 69: If height of iScroll Carousel is large, vertical scroll is disable (for touch mobile devices)
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by vin...@julysystems.com, Nov 15, 2011
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.
iScroll demo Carousel.htm
73.7 KB   View   Download
Nov 15, 2011
#1 vin...@julysystems.com
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.

Powered by Google Project Hosting