mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix iOS easing
This commit is contained in:
@@ -186,15 +186,6 @@ export class NavBase {
|
||||
|
||||
// resolve that this push has completed
|
||||
resolve();
|
||||
|
||||
// on the next frame, hide the item that's cached
|
||||
util.dom.raf(() => {
|
||||
// ensure it's state is still cached
|
||||
if (leavingItem.state === CACHED_STATE && leavingItem.navItem) {
|
||||
// CSS default is display:none, so setting to '' does the trick
|
||||
leavingItem.navItem.domElement.style.display = '';
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user