mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Fixes issue where modal flickers when closing when using fade-in/fade-out animation, 500 ms delay wasn't enough so changed to 320 ms
This commit is contained in:
2
js/angular/service/modal.js
vendored
2
js/angular/service/modal.js
vendored
@@ -194,7 +194,7 @@ function($rootScope, $document, $compile, $timeout, $ionicPlatform, $ionicTempla
|
||||
return $timeout(function(){
|
||||
$document[0].body.classList.remove(self.viewType + '-open');
|
||||
self.el.classList.add('hide');
|
||||
}, self.hideDelay || 500);
|
||||
}, self.hideDelay || 320);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user