MAUI SfPopup doesn’t close while closing manually from window size changed event

We are facing an issue where the popup doesn’t close and remains floating at the middle of the application while closing it manually when window size is changed. We’ve tried using both the IsOpen property and Dismiss() method. We’ve reproduced this issue on both windows and macOS. Here we’ve attached a demo implementation of this issue.


The behavior we are trying to achieve is, the popup will be closed while resizing the window in both windows and macOS.


Could you please share any work around for this?


Attachment: SfPopupSample_b8b87010.zip

3 Replies

AF Anees Fathima Shajahan Syncfusion Team December 4, 2024 01:32 PM UTC

Hi Mohammed Fahmidur Rahman,


We have checked the reported scenario and able to reproduce the issue. We will update you with further details on or before December 9, 2024. We will appreciate your patience until then.


Regards,

Anees Fathima.




AF Anees Fathima Shajahan Syncfusion Team December 9, 2024 02:52 PM UTC

Hi Mohammed Fahmidur Rahman,


We would like to let you know that we have logged a bug for the reported scenario, “The popup does not close when IsOpen is set to false in the OnSizeAllocated method.”, we will fix the issue and include the fix in our Upcoming nuget release, which is planned to be rolled out on December 24, 2024. We will appreciate your patience until then. 

We have attached a custom package with a fix for this issue. Please confirm whether the issue has been resolved on your side.


You can track the status of the issue in the feedback report below.

Feedback linkhttps://www.syncfusion.com/feedback/63825/the-popup-does-not-close-when-isopen-is-set-to-false-in-the-onsizeallocated-method 

Note: The provided feedback link is private, you need to login to view this feedback.  


Regards,

Anees Fathima.



Attachment: Syncfusion.Maui.Popup.27.2.5_11d46e1e.zip


SJ Sowntharya Jayamoorthy Syncfusion Team December 24, 2024 10:49 AM UTC

Hi Mohammed Fahmidur Rahman,


We would like to let you know that Essential Studio Weekly NuGet packages (v28.1.36) has been published in nuget.org with the fix for the issue “The popup does not close when IsOpen is set to false in the OnSizeAllocated method”. Please let us know if you have any concerns in this. 

RootCause of the issue: 
The IsOpen property changed to false due to delay in PlatformWindowSizeChanged.


Regards,
Sowntharya Jayamoorthy


Loader.
Up arrow icon