Skip to content

Commit acd0ff8

Browse files
committed
fix(sideMenu): check whether drag is enabled before dragging
1 parent c85730e commit acd0ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: js/angular/controller/sideMenuController.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ function($scope, $attrs, $ionicSideMenuDelegate, $ionicPlatform, $ionicBody, $io
309309

310310
// Handle a drag event
311311
self._handleDrag = function(e) {
312-
if (isAsideExposed) return;
312+
if (isAsideExposed || !$scope.dragContent) return;
313313

314314
// If we don't have start coords, grab and store them
315315
if (!startX) {

0 commit comments

Comments
 (0)