mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
@ -236,7 +236,7 @@ export class Frame extends frameCommon.Frame {
|
||||
// This bug is fixed on API19+
|
||||
ensureAnimationFixed();
|
||||
let trans: number;
|
||||
if (this.android.cachePagesOnNavigate && animationFixed < 0) {
|
||||
if (this.android.cachePagesOnNavigate && animationFixed < 0 && !navigationTransition) {
|
||||
// Apparently, there is an Android bug with when hiding fragments with animation.
|
||||
// https://code.google.com/p/android/issues/detail?id=32405
|
||||
// When bug is fixed use animated variable.
|
||||
|
@ -402,6 +402,7 @@ export function _removePageNativeViewFromAndroidParent(page: Page): void {
|
||||
if (trace.enabled) {
|
||||
trace.write(`REMOVED ${page}._nativeView from its Android parent`, trace.categories.Transition);
|
||||
}
|
||||
page._onDetached(true);
|
||||
androidParent.removeView(page._nativeView);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user