From e53581b8052ec6a4b41d7760681a8d78aaf32a64 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Mon, 8 Dec 2014 12:03:08 -0600 Subject: [PATCH] fix(header): update title align after rAF --- js/angular/directive/headerFooterBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/angular/directive/headerFooterBar.js b/js/angular/directive/headerFooterBar.js index ce6b0b3e1d..8df55134c6 100644 --- a/js/angular/directive/headerFooterBar.js +++ b/js/angular/directive/headerFooterBar.js @@ -141,7 +141,7 @@ function headerFooterBarDirective(isHeader) { }); ctrl.align(); $scope.$on('$ionicHeader.align', function() { - ctrl.align(); + ionic.requestAnimationFrame(ctrl.align); }); } else {