window.innerWidth & window.innerHeight --> change with orientation
Posted: Wed Jan 14, 2015 2:27 pm
I have an oddity that maybe someone can help me understand.
When I test my app on the Appery tester on an android device I get:
In portrait:
Screenwidth: 540
Screenheight: 887
In landscape:
Screenwidth: 918
Screenheight: 515
I would have expected the pairs of numbers to be simply flipped...