mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
5
js/angular/service/modal.js
vendored
5
js/angular/service/modal.js
vendored
@@ -127,6 +127,10 @@ function($rootScope, $ionicBody, $compile, $timeout, $ionicPlatform, $ionicTempl
|
||||
return $$q.when();
|
||||
}
|
||||
|
||||
// on iOS, clicks will sometimes bleed through/ghost click on underlying
|
||||
// elements
|
||||
$ionicClickBlock.show(600);
|
||||
|
||||
var modalEl = jqLite(self.modalEl);
|
||||
|
||||
self.el.classList.remove('hide');
|
||||
@@ -155,7 +159,6 @@ function($rootScope, $ionicBody, $compile, $timeout, $ionicPlatform, $ionicTempl
|
||||
ionic.on('resize', self._onWindowResize, window);
|
||||
}
|
||||
|
||||
|
||||
modalEl.addClass('ng-enter active')
|
||||
.removeClass('ng-leave ng-leave-active');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user