mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(scroll): ion-scroll swallows scroll events by default. Fixes #2695
This commit is contained in:
3
js/angular/directive/scroll.js
vendored
3
js/angular/directive/scroll.js
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user