[Shell] Shell currently doesn't detect pushed pages inside a Modal NavigationPage
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
```C#
[Test]
public async Task DotDotNavigationWorksWithModalNavigationPage()
{
var shell = new TestShell();
shell.Items.Add(new ContentPage());
var modalPage = new Controls.NavigationPage(new ContentPage());
await shell.Navigation.PushModalAsync(modalPage);
await modalPage.PushAsync(new ContentPage());
await modalPage.PushAsync(new ContentPage());
await modalPage.PushAsync(new ContentPage());
await shell.GoToAsync("..");
}
```
Contributor guide
Research direction
Start with the DotDotNavigationWorksWithModalNavigationPage test and trace shell.Navigation.PushModalAsync, modalPage.PushAsync, and shell.GoToAsync(".."). Determine the expected back-navigation result for the pushed pages, then add regression coverage showing that modal NavigationPage state is detected correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100