0

On ipad chrome browser, the innerWidth/innerHeight values remain the same following the first window.onresize event. This problem is not seen in Mobile Safari.

dayakar
  • 46
  • 4
  • Does this answer your question? [How to get the browser viewport dimensions?](https://stackoverflow.com/questions/1248081/how-to-get-the-browser-viewport-dimensions) – jancha Jul 21 '20 at 11:23

1 Answers1

0

It is working, I added some settimeout after getting window.innerHeight and window.innerWidth correctly.

dayakar
  • 46
  • 4