Replies: 1 comment
-
|
It seems that one way to cancel this currently is like this, which isn't great: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to disable back navigation in my app. I have hidden the back button, however if I click the back button on my mouse the app still navigates to the previous page.
This seems to come from the
OnMouseDownevent inNavigationView:There doesn't seem to be any way to override this. I have tried hooking into the
OnBackRequestedevent and settingHandledto true, but this does nothing. I know you can cancel navigation in theNavigatingevent, but there's no way to know if this came from a normal navigation, or from navigating back.Is there any way to do this?
Beta Was this translation helpful? Give feedback.
All reactions