Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamline ModalNavigation lifecycle events #15799

Merged
merged 9 commits into from Jul 5, 2023
Merged

Streamline ModalNavigation lifecycle events #15799

merged 9 commits into from Jul 5, 2023

Conversation

PureWeen
Copy link
Member

Description of Change

When the toolbar code was modified to wire up during the windows changed event, this wasn't properly accounted for inside the Shell modal workflow. This PR consolidates the lifecycle handling of modals a bit more into the ModalNavigationManager to ensure that parents are set and LC events are thrown all in the correct order.

Issues Fixed

Fixes #15498

@jsuarezruiz jsuarezruiz added area/navigation 🧭 NavigationPage area/lifecycle 🔁 XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events labels Jun 23, 2023
@PureWeen PureWeen requested a review from rmarinho June 26, 2023 22:25
@PureWeen PureWeen requested a review from jknaudt21 July 5, 2023 21:13
@PureWeen PureWeen merged commit a154990 into main Jul 5, 2023
27 of 28 checks passed
@PureWeen PureWeen deleted the fix_15498 branch July 5, 2023 21:38
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/lifecycle 🔁 XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events area/navigation 🧭 NavigationPage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Showing TitleBar and ToolbarItems on Android in a modal ContentPage in a MVVM Shell app
4 participants