mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(modal): Increase delay of removing .modal-open to prevent focus under modals
This commit is contained in:
2
js/angular/service/modal.js
vendored
2
js/angular/service/modal.js
vendored
@@ -148,7 +148,7 @@ function($rootScope, $document, $compile, $timeout, $ionicPlatform, $ionicTempla
|
||||
return $timeout(function(){
|
||||
$document[0].body.classList.remove('modal-open');
|
||||
self.el.classList.add('hide');
|
||||
}, 350);
|
||||
}, 500);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user