javascript - Iscroll causes links inside the scrolling parent to become unclickable on touch devices -
i'm trying use iscroll plugin (https://github.com/cubiq/iscroll) add scrolling div. finding renders links inside scrolling parent unclickable. disabling plugin fixes it.
at first thought -webkit-transform
doesn't seem case created standalone fiddle in.
a demo can found here - http://jsfiddle.net/5frv4/. go using mobile webkit browser see issue in action.
iscroll initialised few simple options:
var menuscroll = new iscroll('#menu', { mousewheel: true, scrollbars: 'custom', interactivescrollbars: true, });
i'm not sure can around issue. know else try?
you try iscroll's option
click: true
to override native scrolling iscroll has inhibit default browser behaviors, such mouse clicks. if want application respond click event have explicitly set option true. please note suggested use custom tap event instead (see below). http://iscrolljs.com/#configuring
Comments
Post a Comment