From fca7ea0d95cc3a4e419c57843b4837076b4ac143 Mon Sep 17 00:00:00 2001 From: Lewis Liu Date: Thu, 10 Sep 2015 12:31:57 -0700 Subject: [PATCH] Added mousewheel support for touch devices --- js/views/scrollView.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/views/scrollView.js b/js/views/scrollView.js index 0ee20674461..742282e0908 100644 --- a/js/views/scrollView.js +++ b/js/views/scrollView.js @@ -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