mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Merge pull request #7269 from NativeScript/myankov/merge-release-master
chore: merge release to master
This commit is contained in:
@ -350,11 +350,7 @@ export abstract class ViewCommon extends ViewBase implements ViewDefinition {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isAndroid || (parent.viewController && parent.viewController.presentedViewController)) {
|
|
||||||
that._hideNativeModalView(parent, whenClosedCallback);
|
that._hideNativeModalView(parent, whenClosedCallback);
|
||||||
} else {
|
|
||||||
whenClosedCallback();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -452,6 +452,12 @@ export class View extends ViewCommon {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// modal view has already been closed by UI, probably as a popover
|
||||||
|
if (!parent.viewController.presentedViewController) {
|
||||||
|
whenClosedCallback();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const parentController = parent.viewController;
|
const parentController = parent.viewController;
|
||||||
const animated = (<any>this.viewController).animated;
|
const animated = (<any>this.viewController).animated;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user