[Webkit-unassigned] [Bug 170595] window.innerWidth/innerHeight are bogus after resize/orientationchange in WKWebView (but not MobileSafari)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 23 06:06:44 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170595

dopıng <bugs at moronic.technology> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs at moronic.technology

--- Comment #10 from dopıng <bugs at moronic.technology> ---
No idea whether this is related, but just in case…

There’s also been another change in the behavior of ‘window.innerHeight’ between iOS 10.2 and 10.3.1:
When you touch an input field that’s located at the bottom of a page, the virtual keyboard comes up and Safari scrolls to ensure that the field remains visible. If you have a handler attached to the window’s ‘scroll’ event and read ‘window.innerHeight’ in it, in iOS 10.2 the height was unchanged, i.e. not reduced by the height of the keyboard. In iOS 10.3.1, it *is* reduced by the height of the keyboard.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170423/682582f6/attachment.html>


More information about the webkit-unassigned mailing list