Page 1 of 1

window.innerWidth & window.innerHeight --> change with orientation

Posted: Wed Jan 14, 2015 2:27 pm
by Andy Parker

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...


window.innerWidth & window.innerHeight --> change with orientation

Posted: Thu Jan 15, 2015 5:25 am
by Yurii Orishchuk

Hi Andy,

That's ok, don't care about it..

Regards.