PrismLibrary / PrismLibrary/Prism

Add Support to GoBackToRoot from a Modal Context

Open
#2,812 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement roadmap
Dominant language
C#
Stars
6.8k
Forks
1.6k
Avg merge
2d 1h
Merged PRs (30d)
1

Description

Description

Currently the INavigationService's GoBackToRootAsync method only works within the context of a NavigationPage. This should be updated so that when the current page is part of a Modal Stack instead we should pop until we get back to Window.Page

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at INavigationService.GoBackToRootAsync and trace how it currently handles a NavigationPage. Compare that flow with the modal stack and Window.Page behavior described here; done means a modal-context call pops pages until it returns to Window.Page, with coverage added wherever the existing navigation tests live.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.