-
Notifications
You must be signed in to change notification settings - Fork 6.8k
feat(overlay): add option to automatically dispose on navigation #12592
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
feat(overlay): add option to automatically dispose on navigation #12592
Conversation
8d1453f
to
8a4ab66
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@crisbeto seeing presubmit test failures for this one like:
|
That sounds weird, because routing won't work without the |
Hi @crisbeto! This PR has merge conflicts due to recent upstream merges. |
2 similar comments
Hi @crisbeto! This PR has merge conflicts due to recent upstream merges. |
Hi @crisbeto! This PR has merge conflicts due to recent upstream merges. |
8a4ab66
to
6a80e69
Compare
Adds the opt-in `disposeOnNavigation` option which will dispose of an overlay when the user goes back/forward in history. This is something that we had in `MatDialog` and `MatBottomSheet` already, but it's a common-enough case, especially for global overlays, that it makes sense to have it in the CDK. Fixes angular#12544.
6a80e69
to
346d455
Compare
…ular#12592) Adds the opt-in `disposeOnNavigation` option which will dispose of an overlay when the user goes back/forward in history. This is something that we had in `MatDialog` and `MatBottomSheet` already, but it's a common-enough case, especially for global overlays, that it makes sense to have it in the CDK. Fixes angular#12544.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Adds the opt-in
disposeOnNavigation
option which will dispose of an overlay when the user goes back/forward in history. This is something that we had inMatDialog
andMatBottomSheet
already, but it's a common-enough case, especially for global overlays, that it makes sense to have it in the CDK.Fixes #12544.