I
I
Igor2018-02-27 20:50:25
JavaScript
Igor, 2018-02-27 20:50:25

The window.innerheight command strangely does not work in mobile. How to be?

window.innerheight strangely doesn't work in mobile.
When you rotate the screen, the value is displayed as follows: when you translate to a horizontal position, a larger value is displayed (as if it is now vertical), and vice versa. How to deal with it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question