In fact this solution don't realy block the click event.
It's inside the click event that I detect if the scoll was moved between mous press and mouse up
var myScroll;
function loaded() {
myScroll = new iScroll('contentWrapper');
// considering your clickable object have a "button" class.
$('#contentWrapper .button').click(function(){
if (myScroll.animating)
return;
//your code here
}
}
PS: $ is jquery function. I don't remember how to do without jquery, should be something like:
document.getElementById('contentWrapper').????('.button').AddEventListenener???('onclick', your function);
is that clear for you?