I am working with the Community toolkit, after opening the Popup when I minimize or maximize the window the popup gets closed.
To reproduce the issue please follow the below steps.
Run the attached project.
Click on the button to open the popup.
Minimize and Maximize the window.
See the popup is getting closed.
Expected behavior: Popup should not close when the window is minimized or maximized.
Basic Information
Visual Studio: Visual Studio 2022 version 17.5 Preview 1.0
Community Toolkit Version: 2.0.0
Affected Platform : Windows SDK 10.0.19041.0