mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(viewSwitcher): do not finish transition from bubbled transitionend events
Closes #3006. Closes #3063.
This commit is contained in:
3
js/angular/controller/navViewController.js
vendored
3
js/angular/controller/navViewController.js
vendored
@@ -29,6 +29,7 @@ function($scope, $element, $attrs, $compile, $controller, $ionicNavBarDelegate,
|
||||
var transitionDuration, transitionTiming;
|
||||
|
||||
self.scope = $scope;
|
||||
self.element = $element;
|
||||
|
||||
self.init = function() {
|
||||
var navViewName = $attrs.name || '';
|
||||
@@ -399,7 +400,7 @@ function($scope, $element, $attrs, $compile, $controller, $ionicNavBarDelegate,
|
||||
ionic.offGesture(deregDragStart, 'dragstart', onDragStart);
|
||||
ionic.offGesture(deregDrag, 'drag', onDrag);
|
||||
ionic.offGesture(deregRelease, 'release', onRelease);
|
||||
viewTransition = associatedNavBarCtrl = null;
|
||||
self.element = viewTransition = associatedNavBarCtrl = null;
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user