Demo project for bug: NavigationView pane doesn't open after navigating to page with enabled cache
MainPage has NavigationView control. NavigationCacheMode of MainPage is Enabled. DisplayMode of NavigationView is Expanded. Button "Click me" navigates to ViewerPage. You can navigate back to MainPage from ViewerPage.
Scenario to reproduce bug:
- Make sure the window width is large enough that the DisplayMode property of the NavigationView is "Expanded"
- Close NavigationView pane by clicking Menu button;
- Click button "Click me";
- Click return button in top-left corner to navigate to MainPage;
- Open NavigationView pane by clicking Menu button.
Pane should open but sometimes pane is drawn like closed (pane is open but it looks like it is cut or right panel of NavigationView with content is over it). NavigationView property IsPaneOpen has value "true". Next click closes the pane, and the next one opens the pane. If you didn't get such behavior, you can repeat steps 2-5 until you will get it.
Problem only acuares after navigating back to MainPage with NavigationView that has DisplayMode property set to "Expanded" and IsPaneOpen property set to "false". It seems that this bug is related to page's cache.