fix(scroll): ion-scroll swallows scroll events by default. Fixes #2695

This commit is contained in:
Max Lynch
2014-12-12 15:11:18 -06:00
parent f63b8c1a8e
commit 9f437a8c2b
2 changed files with 27 additions and 3 deletions

View File

@@ -98,7 +98,8 @@ function($timeout, $controller, $ionicBind) {
scrollingY: $scope.direction.indexOf('y') >= 0,
zooming: $scope.$eval($scope.zooming) === true,
maxZoom: $scope.$eval($scope.maxZoom) || 3,
minZoom: $scope.$eval($scope.minZoom) || 0.5
minZoom: $scope.$eval($scope.minZoom) || 0.5,
preventDefault: true
};
if (isPaging) {
scrollViewOptions.speedMultiplier = 0.8;