forcedotcom / scrollerjs

A JavaScript library that helps you build performant UI components for the web.
http://scrollerjs.com
Apache License 2.0
635 stars 63 forks source link

improved touch-action property. #5

Closed jtangelder closed 9 years ago

jtangelder commented 10 years ago

The touch-action property helps detecting/preventing touch actions. Setting the none value on the HTML makes the whole page none-scrollable on Windows Phone. I've replaced it to set it to the correct value for the horizontal/vertical scrollers. This also might improve detection/preventing the default of the touches on Chrome Mobile and Firefox Mobile.

Also, my IDE did some small cleanup on spaces and a empty newline.

jtangelder commented 10 years ago

https://github.com/forcedotcom/scrollerjs/pull/3