Skip to content

Commit

Permalink
Added Support for PopupWindowPage as Root Page
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Sep 14, 2023
1 parent ac23d48 commit 931e31b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/mobile-app/MobileApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,11 @@ export class PopupWindowPage<TIn = any, TOut = any> extends (root as any as type

PageNavigator.pushPageForResult =
(page, parameters, clearHistory) => {
if (!isMobileView && page[isPopupPage]) {
if (
!clearHistory
&& !isMobileView
&& page[isPopupPage]
) {
const popupPage = page as any as typeof PopupWindowEx;
const options: IDialogOptions = {
... popupPage.dialogOptions ?? {},
Expand Down

0 comments on commit 931e31b

Please sign in to comment.