fix: tear down views after a modal is closed (#9801)

This commit is contained in:
Igor Randjelovic
2022-03-01 21:12:21 +01:00
committed by Nathan Walker
parent c876d16083
commit b38337e597
5 changed files with 42 additions and 7 deletions

View File

@ -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);