Skip to content

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

Open
@zorgoz

Description

@zorgoz

"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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestRequest to add a new featureTriageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions