mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(ionNavButtons): fix side="left" flicker with back button on ios
This commit is contained in:
4
js/angular/directive/navButtons.js
vendored
4
js/angular/directive/navButtons.js
vendored
@@ -57,7 +57,9 @@ IonicModule
|
||||
$compile(buttons)($scope);
|
||||
|
||||
//Append buttons to navbar
|
||||
$animate.enter(buttons, navElement);
|
||||
ionic.requestAnimationFrame(function() {
|
||||
$animate.enter(buttons, navElement);
|
||||
});
|
||||
|
||||
//When our ion-nav-buttons container is destroyed,
|
||||
//destroy everything in the navbar
|
||||
|
||||
Reference in New Issue
Block a user