question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Popup within Popup

See original GitHub issue

Hi,

I am trying to navigate from a PopupPage to another PopupPage. Navigating back to the previous page using NavigationService.GoBackAsync(), it returns back an Exception although the popup page was visually dismissed.

Exception message:

at Prism.Plugin.Popups.PopupPageNavigationService+<InvokeOnNavigatedToAsync>d__8.MoveNext () [0x0012a] in D:\a\1\s\src\Prism.Plugin.Popups\PopupPageNavigationService.cs:135 \n— End of stack trace from previous location where exception was thrown —\n at Prism.Plugin.Popups.PopupPageNavigationService+<GoBackInternal>d__4.MoveNext () [0x00194] in D:\a\1\s\src\Prism.Plugin.Popups\PopupPageNavigationService.cs:57 "

Edit: Using NavigationService.ClearPopupStackAsync() yields the same result. This is happening both in iOS and Android.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
thisisthekapcommented, Jul 4, 2019

Also experiencing this issue. @dansiegel Would vote for reopening this issue.

1reaction
arbesoftcommented, Jul 3, 2019

Hi @dansiegel , here is an example how to reproduce the exception. After ClearPopupStackAsync the INavigationResult is Success False. Steps:

  1. Clone Repo: https://github.com/arbesoft/popupsample
  2. Add Breakpoint at PopUpViewModel Line 30
  3. Start Debugging --> Go To MasterDetailPage --> Then click openpopup --> then Click Back Button.

Result: You will get a NavigationResult with Success == False and Exception.

Regards

Osman

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it acceptable to open a modal popup on top of another ...
Using a modal on top of another modal is a big red flag that something broke down in your workflow. If your workflow...
Read more >
How to show a modal pop up above other modal pop up
I have a Modal Pop up . When I click on a button in the Modal Pop Up, another Modal Pop Up shows...
Read more >
Launch a Popup from a Popup or When a Popup Closes
Launch a Popup From a Popup # · 1) Head over to Popup Maker > Create Popup in your WordPress admin area. Popu...
Read more >
move sub popup beyond over the first popup boundary.
Hi. 1.Is that possible to make move the second popup all over the screen? Please see the pic,the second popup(dark) is ONLY moveable...
Read more >
Popups: 10 Problematic Trends and Alternatives
A popup (also known as an overlay or popover) is a window or dialog that appears on top of the page content. A...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found