xamarin/Xamarin.Forms

[Bug] Navigation to a route relatively currently doesn't work with Shell

Aperta

#6096 aperta il 5 mag 2019

 (7 commenti) (1 reazione) (0 assegnatari)C# (1926 fork)batch import
a/shell :shell:e/4 :clock4:help wantedt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

Steps to Reproduce

  1. create two flyout items for example as i created:

<FlyoutItem Route="WelcomeFlyout"> <ShellContent Route="Welcome" ContentTemplate="{DataTemplate page:WelcomePage}" /> </FlyoutItem> <FlyoutItem Route="RegisterFlyout"> <ShellContent Route="Register" ContentTemplate="{DataTemplate page:RegisterPage}" /> </FlyoutItem> 2. from first shellcontent page try to: Shell.Current.GoToAsync("Register",false); it will give Timeout exceeded exception in main,cs

Expected Behavior

as it was in all pre-releases<10 it should navigate to the register page

Actual Behavior

exception

Basic Information

  • Version with issue: pre 10 Last known good version: pre 9
  • IDE: vs2019 for windows
  • It happenes for both:
    • iOS
    • Android

Guida contributor