-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
[overlay] close scroll strategy not properly detaching from DOM #7922
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Oct 21, 2017
Currently the `detachments` stream will emit any time the `detach` or `dispose` methods are called, which doesn't reflect actual detachments. It is something I noticed while looking into angular#7922.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Oct 21, 2017
…close After some refactoring, the `ScrollDispatcher` no longer dispatches inside the `NgZone`, which caused the `CloseScrollStrategy` to break, because it detaches without triggering change detection. These changes bring the detachment back into the `NgZone`. Fixes angular#7922.
This was referenced Oct 21, 2017
andrewseguin
pushed a commit
that referenced
this issue
Nov 2, 2017
Currently the `detachments` stream will emit any time the `detach` or `dispose` methods are called, which doesn't reflect actual detachments. It is something I noticed while looking into #7922.
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug, feature request, or proposal:
Bug
What is the current behavior?
Using
CloseScrollStrategy
, scrolling callsdetach
on theOverlayRef
, but it isn't removed from the DOM.What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-6yqwge
cc @crisbeto
The text was updated successfully, but these errors were encountered: