mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(header): update title align after rAF
This commit is contained in:
2
js/angular/directive/headerFooterBar.js
vendored
2
js/angular/directive/headerFooterBar.js
vendored
@@ -141,7 +141,7 @@ function headerFooterBarDirective(isHeader) {
|
||||
});
|
||||
ctrl.align();
|
||||
$scope.$on('$ionicHeader.align', function() {
|
||||
ctrl.align();
|
||||
ionic.requestAnimationFrame(ctrl.align);
|
||||
});
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user