You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
fix(core): align breakpoints with those used in CDK (#1006)
@angular/cdk BreakpointObserver will not replace `MediaObserver`. **MediaObserver** is an enhanced version that notifies subscribers of activations for standard AND **overlapping (lt-xxx, gt-xxx)** breakpoints.
* Ensure standard breakpoints mediaQueries are aligned with those in the CDK
* Update MediaObserver
* isActive() enhanced to support list of aliases to determine if any match
* properly disconnects subscribers when destroyed
> Note: Developers should use MediaObserver (not use MatchMedia) service to observe breakpoint activations! MediaObserver is the recommended service to use for application developers; MatchMedia should be considered a private service.
Fixes#685. Refs #1001.
0 commit comments