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.

[Bug] In the Windows platform, Popup gets dismissed automatically when the context is switched to a different Window and returned

See original GitHub issue

Description

In the Windows platform, Popup gets dismissed automatically when the context is switched to a different Window and returned

Stack Trace

Link to Reproduction Sample

Steps to Reproduce

  1. Add a Popup control in the new or existing .NET MAUI App
  2. Add an option to invoke the Popup
  3. Set Windows as the Target platform, build and run the app
  4. Invoke the popup and switch the context to a different Window and come back, the Popup in this application gets dismissed automatically

Expected Behavior

The Popup should stay open if the CanBeDismissedByTappingOutsideOfPopup property is set to False.

Actual Behavior

Popup gets closed automatically, not even able to Debug it. Switching to VS closes the popup.

Basic Information

  • Version with issue: v1.0.0
  • Last known good version: NA
  • IDE: VS2022 17.3.0 Preview 1.1
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
    • WinUI: net6.0-windows10.0.19041.0 running on Windows 11 OS
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Workaround

Nope

Reproduction imagery

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
egvijayanandcommented, Jun 9, 2022

I know you folks contribute to this toolkit out of your own interest and I do appreciate that.

So I’ll try to check over the weekend on whether I can extend a helping hand on this.

1reaction
bijingtoncommented, Jun 9, 2022

I really wish GitHub would show similar issues when opening a new issue to help here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Win10 1809 pop up window behind main window, same ...
I see many different cases where a new window opens up behind the main window instead ... Is there any fix available for...
Read more >
Solution Explorer Does Not Remain Pinned After Closing ...
As stated in my original bug report, it is happening when opening Visual Studio, so the debugger is not running as no solutions...
Read more >
Multi-window support
Multi-window mode enables multiple apps to share the same screen simultaneously. Apps can be side by side or one above the other (split-screen...
Read more >
Dismiss pop-up windows from outside application with script?
I would like to dismiss these pop-up windows from outside the application (via a script) so that they do not halt program execution....
Read more >
Return data from a screen
How to return data from a new screen. ... You can do this with the Navigator.pop() method using the following steps: Define the...
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