javascript - Is there a way of disabling panning on tablets - website? -


i have setup following css stop middle mouse panning on computers:

overflow-y: scroll; overflow-x: hidden; 

however, can still pan around on tablet flicking finger on screen... there way of disabling well?

thanks.

add head

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> 

this stops user being able pinch , zoom should resolve issue. please use caution though, not likes having functionality disabled!


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -