From c82af8eb38efd816dbeb4679b1a3b5b569b50dd4 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 10 Feb 2014 21:30:44 +0400 Subject: [PATCH] enable iOS native scrolling --- app/index.html | 2 +- app/js/directives.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/index.html b/app/index.html index fbeb4906..0e77c272 100644 --- a/app/index.html +++ b/app/index.html @@ -55,7 +55,7 @@ - + diff --git a/app/js/directives.js b/app/js/directives.js index 6b9c2e7c..b0b46c6b 100644 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -46,7 +46,7 @@ angular.module('myApp.directives', ['myApp.filters']) moreNotified = false; onContentLoaded(function () { - $(dialogsWrap).nanoScroller({preventPageScrolling: true, tabIndex: -1}); + $(dialogsWrap).nanoScroller({preventPageScrolling: true, tabIndex: -1, iOSNativeScrolling: true}); }); var updateScroller = function () { @@ -116,7 +116,7 @@ angular.module('myApp.directives', ['myApp.filters']) onContentLoaded(function () { scrollableWrap.scrollTop = scrollableWrap.scrollHeight; - $(historyWrap).nanoScroller({preventPageScrolling: true, tabIndex: -1}); + $(historyWrap).nanoScroller({preventPageScrolling: true, tabIndex: -1, iOSNativeScrolling: true}); }); var updateScroller = function (delay) {