xamarin/Xamarin.Forms

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

Aberta

#6.096 aberto em 5 de mai. de 2019

 (7 comentários) (1 reação) (0 responsável)C# (1.926 forks)batch import
a/shell :shell:e/4 :clock4:help wantedt/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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

Guia do colaborador