-
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
fix(breakpoints): emit only one event for adjacent breakpoint changes. #11007
Conversation
ccba8d6
to
5095cb5
Compare
}; | ||
})); | ||
return combineLatest(observables).pipe( | ||
debounceTime(0, asapScheduler), |
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.
Should this one run outside the NgZone?
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.
I don't believe so, we would have to immediately place it back into the NgZone in the next method in the pipe.
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
79c8842
to
7610ff0
Compare
Looks like you got real CI errors on this one |
@josephperrott Please fix the tests |
7610ff0
to
cfeca55
Compare
cfeca55
to
de30ce1
Compare
Is it possible to have this merged into the next release? |
@josephperrott do you think this is ready to be merged or are there other problems I don't know about that isn't public on GitHub? |
Can this please go into the next release? |
de30ce1
to
55607dc
Compare
@josephperrott why wasn't this included in 6.4.7 since it has been merged 6 days before that release? |
@josephperrott actually it doesn't even seem to be working. https://stackblitz.com/edit/angular-material2-issue-sc9n2h?file=app/app.component.ts when I try this in chrome I see it still fires twice. |
I' m using angular cdk, material version 7.1.1. But i'm still getting this issue. :( |
Same here:
|
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. |
Fixes #10925
Fixes #10944