Skip to content Skip to sidebar Skip to footer

How Do I Get Android To Respond To Touch Drags?

I'm creating a web app featuring divs with overflow: scroll styling. Since the Android browser doesn't support this, I need to use touches and drags with my own custom function. $

Solution 1:

Please use:

event.touches[0].pageY

instead of:

event.pageY

it will work.


Post a Comment for "How Do I Get Android To Respond To Touch Drags?"