Skip to content

Conversation

@Jahnavi-SF4672
Copy link
Collaborator

@Jahnavi-SF4672 Jahnavi-SF4672 commented Jan 19, 2026

Root Cause of the Issues

  • Closing Animation Issue (PR 1414)
    • In the DismissPopup method, the PopupView parent was set to null before the closing animation completed, causing the animation to break on iOS and macOS.
  • Keyboard Resize Issue on .NET 10 (PR 1417)
    • On .NET 10, the root view already adjusts for keyboard height, but SfPopup additionally applied a second offset, pushing the popup down behind the keyboard.
  • Popup Not Showing with Shell.PresentationMode = Modal (PR 1422)
    • A condition added for an earlier bug fix incorrectly depended on shellPage.IsLoaded.
    • When Shell.PresentationMode = Modal, Shell pages never report IsLoaded as true, causing the popup not to display at all.
  • Decline Button Missing in TwoButton Mode on Windows (PR 1432)
    • During migration from ES Popup to Toolkit Popup, certain logic was not ported.
    • When AppearanceMode changed, footer child views were not recreated or updated, leading to missing buttons in “TwoButton” mode.
  • In .NET 9 – When hiding the status bar, only the time and battery status texts are hidden, but the bar itself remains visible. Therefore, we get the decorViewFrame.Top value. However, in .NET 10, when hiding the status bar (same as .NET 9), the bar remains visible, but decorViewFrame.Top is 0
  • .NET 10 In GetScreenHeight and GetScreenWidth methods wrong value returned.

Description of Change

  • Fix for Closing Animation (PR 1414)

    • Updated the DismissPopup method to set the PopupView parent to null only after the closing animation completes.
    • Ensures smooth and uninterrupted closing animation on iOS and macOS.
  • Fix for Keyboard Resize Offset on .NET 10 (PR 1417)

    • Added a condition to skip applying additional keyboard-height offset when running on .NET 10 in Resize mode.
    • Prevents the popup from shifting down behind the keyboard.
  • Fix for Shell Modal Popup Not Displaying (PR 1422)

    • Modified the DisplayPopup condition:
    • Now returns only when both shellPage.CurrentPage == null and shellPage.IsLoaded == false.
    • Allows popup display even when Shell is in modal mode where IsLoaded remains false.
  • Fix for Missing Decline Button in TwoButton Mode (PR 1432)

    • Reintroduced missing logic from ES Popup migration.
    • Ensures that footer child views get reconstructed whenever AppearanceMode changes, restoring the Decline button on Windows.
  • .NET 10: status bar height even if hidden/overlayed.

    • topPx = (windowInsets.GetInsetsIgnoringVisibility(WindowInsetsCompat.Type.StatusBars()))!.Top;
  • We have calculated the Height and width values using decorViewFrame

    • In GetScreenHeight : Returned DecorViewBootom - decorViewTop.
    • When Keyboard opening the DecorViewFrame.Bottom value is the DecorViewFrame.Bottom - Keyboard value. So added KeyBoard Value.
    • For LayoutNoLimits Flag returned PlatFormRootViewHeight/Density.
    • In GetScreenWidth : Returned DecorViewFrameRight - DecorViewFrameLeft.
    • For LayoutNoLimits Flag returned PlatFormRootViewWidth/Density.

Issues Fixed

https://gitea.syncfusion.com/essential-studio/maui-toolkit/pulls/1414
https://gitea.syncfusion.com/essential-studio/maui-toolkit/pulls/1417
https://gitea.syncfusion.com/essential-studio/maui-toolkit/pulls/1422
https://gitea.syncfusion.com/essential-studio/maui-toolkit/pulls/1432
https://gitea.syncfusion.com/essential-studio/maui-popup/pulls/581

Screenshots

Before:

BeforeFix.docx

After:

Uploading After Fixing.docx…

@PaulAndersonS PaulAndersonS merged commit 370ad46 into main Jan 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants