I’m really trying without any success to modify the EdgeNavigator example so that the user may close the edge panel by clicking the back button
, but avoiding that Navigator
goes back too.
Now infact I can close the panel using
<OnBackButton>
<NavigateToggle Target="sidebar" />
</OnBackButton>
but this solution interferes with Navigator
as even the page - on top of which the panel has opened - goes back too.
<Navigator DefaultPath="splash">
<SplashPage ux:Template="splash" router="router" />
<HomePage ux:Template="home" router="router" />
<MusicPage ux:Template="music" router="router" />
</Navigator>
I would like that the back button
acts only on one visual element at time: first on the edge panel, then (if pressed again) on the page. Now a single click closes the edge panel AND makes the page go back.