Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] Shell query parameter not being set before OnAppearing of page is called #11549

@tsequeira-vhs

Description

@tsequeira-vhs

Description

Shell page parameter navigation does not set parameter for page before OnAppearing is called. In prior releases, the OnAppearing used to be called after the paramters were set allowing us to load the content based on the parameter.

Steps to Reproduce

  1. Use Shell page and add 2 pages
  2. Navigate from page 1 to page 2 using GoToAsync("Page2?id=5");
  3. Observe that OnAppearing of page 2 is called before the id parameter is set

Expected Behavior

The parameter set should be called before the OnAppearing is called

Actual Behavior

OnAppearing of page 2 is called before the id parameter is set

Basic Information

  • Version with issue: Xamarin.Forms 4.7.0.1080
  • Last known good version: Xamarin.Forms 4.6.x and versions below

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions