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

add config to stop matdialog closing when browser back button is pressed #8797

Closed
spencerodai opened this issue Dec 4, 2017 · 3 comments
Closed
Assignees
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

Comments

@spencerodai
Copy link

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?

"@angular/core": "^5.0.3",
"@angular/forms": "^5.0.3",
"@angular/http": "^5.0.3",
"@angular/material": "^5.0.0-rc.1"

Is there anything else we should know?

NA

@jelbourn jelbourn added discussion feature This issue represents a new feature or feature request rather than a bug or bug fix P5 The team acknowledges the request but does not plan to address it, it remains open for discussion labels Dec 6, 2017
@spencerodai
Copy link
Author

Hi @jelbourn , any progress with this? thanks

@crisbeto
Copy link
Member

Closing as a dupe of #8983.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
@mmalerba mmalerba added the needs: discussion Further discussion with the team is needed before proceeding label Mar 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
Projects
None yet
Development

No branches or pull requests

4 participants