mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(frame): root tabview with modal frame when suspend/resume app (#5408)
This commit is contained in:
@@ -251,10 +251,12 @@ export abstract class ViewCommon extends ViewBase implements ViewDefinition {
|
||||
const modalIndex = _rootModalViews.indexOf(that);
|
||||
_rootModalViews.splice(modalIndex);
|
||||
that._hideNativeModalView(parent);
|
||||
that._modalParent = null
|
||||
that._modalParent = null;
|
||||
that._modalContext = null;
|
||||
that._closeModalCallback = null;
|
||||
that._dialogClosed();
|
||||
parent._modal = null;
|
||||
|
||||
if (typeof closeCallback === "function") {
|
||||
closeCallback.apply(undefined, arguments);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user