Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] "Back" and other navigation scenarios #551

Open
zorgoz opened this issue Jan 26, 2024 · 0 comments
Open

[Feature Request] "Back" and other navigation scenarios #551

zorgoz opened this issue Jan 26, 2024 · 0 comments
Labels
Feature Request Request to add a new feature Triage Issue needs to be triaged

Comments

@zorgoz
Copy link

zorgoz commented Jan 26, 2024

"Back" functionality is neither prevented nor treated as "Close" resulting in the page receiving this event. Although it can be handled at this level, but would be straightforward to handle it at the dialog level.

Please add a parameter that allows configuring how this should behave.

Suggestion:

public enum BackNavigationEventHandling 
{
   None,
   Prevent,
   CloseDialog,
   Callback // virtual method to handle the received LocationChangingContext 
}

Please note that except from the Callback scenario LocationChangingContext.IsNavigationIntercepted should not be prevented, but always result in the proper destruction of the dialog.

@zorgoz zorgoz added Feature Request Request to add a new feature Triage Issue needs to be triaged labels Jan 26, 2024
@zorgoz zorgoz changed the title [Feature Request] [Feature Request] "Back" and other navigation scenarios Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Request to add a new feature Triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant