1

I'm not able to get exact height/width of the window on orientation change. And it is working fine when I'm using resizing.

It is working fine in JQuery previous versions but it causing an issue on JQuery latest version.

Some condition: I don't want to use this with timeout

$(window).on('orientationchange', function(){
    alert($(window).height());
});
  • Possible duplicate of [Mobile viewport height after orientation change](https://stackoverflow.com/questions/12452349/mobile-viewport-height-after-orientation-change) – deblocker Jun 04 '19 at 13:40
  • Yes, the question is almost same but the solution they have shared to us is possible only with timeout and I don't wanted to use timeout – Priya Luthra Jun 05 '19 at 04:49

0 Answers0