diff --git a/js/angular/service/actionSheet.js b/js/angular/service/actionSheet.js index bcf9d644a40..f69a7366deb 100644 --- a/js/angular/service/actionSheet.js +++ b/js/angular/service/actionSheet.js @@ -150,7 +150,9 @@ function($rootScope, $document, $compile, $animate, $timeout, $ionicTemplateLoad // registerBackButtonAction returns a callback to deregister the action scope.$deregisterBackButton = $ionicPlatform.registerBackButtonAction( - scope.cancel, + function() { + $timeout(scope.cancel); + }, PLATFORM_BACK_BUTTON_PRIORITY_ACTION_SHEET );