diff --git a/js/angular/service/modal.js b/js/angular/service/modal.js index a3870d5bbf5..2be109d4b2e 100644 --- a/js/angular/service/modal.js +++ b/js/angular/service/modal.js @@ -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');