Orientation switch in Nexus 9
Checking in BrowserStack in Nexus 9. When page is loading orientation (portrait/landscape) is correct. But when rotating device - it's failing... Tested with http://thematthewhudson.com/current-device/ too. How it can be solved?.. Thanks!
This is happening to every devices.
The right event to detect in line 295 is "orientationchange" and not "onorientationchange".
@matthewhudson please fix this or accept my pull request.
@matthewhudson I am still getting this behavior with version 0.7.8 (using an iPhone X), both on my website as well as the example page linked above. would be really great to have this bug fixed, as it breaks responsive layouts that depend on the portrait/landscape class names
@ssalka Can you submit a PR?