I set viewport tag to 480px so in iPhone (portrait mode) true dimensions of website are:
- 480x534px when top bar is visible
- 480x594px when top bar is hidden
Yet, jQuery(window).height() and window.innerHeight and jQuery(window).InnerHeight() ALWAYS return 480x534px and that creates 60px gap at the bottom of website when trying to place height: 100%; width: 100%; container on top of current content (popup window).
This is reported as jQuery bug already (and iPhone bug) but is there any workaround?