xamarin/Xamarin.Forms

Bug 60966 - Can't Navigate To The Same Page Twice

Open

#1,897 opened on Feb 16, 2018

View on GitHub
 (24 comments) (0 reactions) (0 assignees)C# (1,926 forks)batch import
help wantedinactiveinvalidup-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

COPIED FROM: https://bugzilla.xamarin.com/show_bug.cgi?id=60966

Laura:

Hi, I've created a sample project that demonstrates a bug with the navigation page. It is impossible to navigate to the same page twice. Why is this? Navigating to a new Page object every time I want to go back to the same page is hurting my application's performance.

https://www.dropbox.com/s/c8aqloj60vpvg7h/NavigationCircleBug.7z?dl=0

Melbourne Developer:

This is a colossal monster bug that leaves us flailing and gasping for air.

How are we supposed to build an app where the pages keep getting recreated again and again? It's chewing memory like you wouldn't believe.

We need to be able to navigate to a page twice so that it can be reused. We know that this is possible because you can hit the back button to go back. So why I can't we just navigate to a page twice or more?

Contributor guide