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 Feb 26, 2024. It is now read-only.
I'm building an angular2 app and I'm trying to do dynamic things when window.matchMedia tells me that a media breakpoint has been hit.
It seems like this is bypassing change detection, and I suspect it might be because zone.js doesn't wrap the matchMedia API.
Does this sound plausible? Would you be open to a PR to work through and resolve the issue? Right now I have to manually tick the ng2 app when things change, and it feels pretty dirty.
I'm building an angular2 app and I'm trying to do dynamic things when
window.matchMediatells me that a media breakpoint has been hit.It seems like this is bypassing change detection, and I suspect it might be because zone.js doesn't wrap the matchMedia API.
Does this sound plausible? Would you be open to a PR to work through and resolve the issue? Right now I have to manually tick the ng2 app when things change, and it feels pretty dirty.