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

Fix Modal OnNavigatedTo #18912

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Fix Modal OnNavigatedTo #18912

merged 1 commit into from
Nov 21, 2023

Conversation

emaf
Copy link
Contributor

@emaf emaf commented Nov 20, 2023

Description of Change

When navigating between Modal pages, Shell was returning the first page in the stack as the current page, so that page was the one being notified about the navigation. Instead, we should return the last page from the stack.

Issues Fixed

Fixes #17978

When navigating between Modal pages, Shell was returning the first page in the stack as the current page, so that page was the one being notified about the navigation. Instead, we should return the last page from the stack.

Fixes #17978
@emaf emaf requested a review from a team as a code owner November 20, 2023 21:57
@PureWeen PureWeen merged commit 852a73e into main Nov 21, 2023
47 checks passed
@PureWeen PureWeen deleted the dev/ema/navigatedto branch November 21, 2023 02:26
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[regression/8.0.0-preview.3.8149] - modal to modal doesnt call OnNavigatedTo
2 participants