mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
fix: tear down views after a modal is closed (#9801)
This commit is contained in:

committed by
Nathan Walker

parent
c876d16083
commit
b38337e597
@ -407,6 +407,8 @@ export abstract class ViewCommon extends ViewBase implements ViewDefinition {
|
||||
if (typeof options.closeCallback === 'function') {
|
||||
options.closeCallback.apply(undefined, originalArgs);
|
||||
}
|
||||
|
||||
that._tearDownUI(true);
|
||||
};
|
||||
|
||||
that._hideNativeModalView(parent, whenClosedCallback);
|
||||
|
Reference in New Issue
Block a user