add config to stop matdialog closing when browser back button is pressed #8797
Labels
feature
This issue represents a new feature or feature request rather than a bug or bug fix
needs: discussion
Further discussion with the team is needed before proceeding
P5
The team acknowledges the request but does not plan to address it, it remains open for discussion
Bug, feature request, or proposal:
feature request
What is the expected behavior?
allow a config that can be set to enable/ disable location back button pressed from closing all dialog.
What is the current behavior?
when the back button on a browser is pressed the dialog with the form closes anyway disregarding my guard.
What is the use-case or motivation for changing an existing behavior?
I have a dialog with a form and deactivate guard that will open another dialog and prompt user about progressing or quitting. when the back button on a browser is pressed the dialog with the form closes anyway disregarding my guard.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
NA
The text was updated successfully, but these errors were encountered: