I'm using vclick from jQuery mobile to eliminate the click delay on mobile devices. It mostly works fine, however if I have a scrollable element and I touch-scroll it, vclick is fired at the coordinates where I touched the element to initiate the scroll.
I have a scrollable list, where clicking/tapping an item initiates some further actions. When I simply scroll the list, the vclick is fired on the item which I touched to scroll the whole list. I haven't found any ways around it.
How can I get around it? I only want the vclick on actual tap, not on scroll.
I can, probably, handle the touchstart event and save the coordinates. Then handle touchend event instead of vclick and compare the coordinates with those from touchstart - and only perform actions if they are the same. Yet this sounds really ugly to me.
EDIT: using tap instead of vclick exhibits the same behavior, therefore it's also not a solution.