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
mediaService.query('landscape') is never triggered due to bad specification in media.service.js
What is the expected behavior?
Screen Orientation change should trigger a true match
Which version of Angular and Material, and which browser and OS does this issue affect?
"@covalent/core": "^1.0.0-beta.7"
Did this work in previous versions of Angular / Material?
Nothing to do with angular
Other information
Problem can be solved by changing lines 22 & 23 of media.service.js
this._queryMap.set('landscape', 'landscape');
this._queryMap.set('landscape','(orientation: landscape)');
Do you want to request a feature or report a bug?
BUG
Bug Report
mediaService.query('landscape') is never triggered due to bad specification in media.service.js
What is the expected behavior?
Screen Orientation change should trigger a true match
Which version of Angular and Material, and which browser and OS does this issue affect?
Did this work in previous versions of Angular / Material?
Nothing to do with angular
Other information
Problem can be solved by changing lines 22 & 23 of media.service.js
this._queryMap.set('landscape',
'landscape');this._queryMap.set('landscape','(orientation: landscape)');
this._queryMap.set('portrait',
'portrait');this._queryMap.set('portrait', '(orientation: portrait)');
The text was updated successfully, but these errors were encountered: