Skip to content

Commit

Permalink
Merge pull request #4348 from lewisl9029/touch-devices-mousewheel
Browse files Browse the repository at this point in the history
Added mousewheel support for touch devices
  • Loading branch information
mlynch committed Dec 6, 2015
2 parents 5e26d4b + fca7ea0 commit ce4ca93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/views/scrollView.js
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,7 @@ ionic.views.Scroll = ionic.views.View.inherit({
document.addEventListener("touchmove", self.touchMove, false);
document.addEventListener("touchend", self.touchEnd, false);
document.addEventListener("touchcancel", self.touchEnd, false);
document.addEventListener("wheel", self.mouseWheel, false);

} else if (window.navigator.pointerEnabled) {
// Pointer Events
Expand Down

0 comments on commit ce4ca93

Please sign in to comment.