Skip to content

Conversation

@NanthiniMahalingam
Copy link
Contributor

Issue Details

  • The NavigationPage does not push the modal page using the PushModalAsync method after using the PageSheet.

Root Cause

  • The NavigationPage's view controller UIView window is null when using PageSheet, preventing the modal page from being presented in the view.

Description Changes

  • Added a null check condition for the view controller's ViewIfLoaded window and obtained the modal navigation page wrapper view from the window's root view controller.

Issues Fixed

Fixes #27670

Validated the behaviour in the following platforms

  • [] Android
  • [] Windows
  • iOS
  • [] Mac

Output

iOS platform

Before After
27670_Before.mp4
27670_After.mp4

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Feb 13, 2025
@dotnet-policy-service
Copy link
Contributor

Hey there @NanthiniMahalingam! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dotnet-policy-service dotnet-policy-service bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Feb 13, 2025
@jsuarezruiz
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@NanthiniMahalingam NanthiniMahalingam marked this pull request as ready for review February 13, 2025 14:01
@NanthiniMahalingam NanthiniMahalingam requested a review from a team as a code owner February 13, 2025 14:01
@PureWeen PureWeen merged commit b9c00b3 into dotnet:main Feb 13, 2025
123 checks passed
@haavamoa
Copy link

Awesome job! When will this be released?

@haavamoa
Copy link

This is not fixed in 9.0.50 SR5, created a new issue:
#28444

@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-modal community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration platform/ios

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[iOS] Navigation breaks when modal pages use PageSheet

4 participants