[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
Tue Jan 30 03:49:57 PST 2018


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

Matthew Henry <matt.henry1 at me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matt.henry1 at me.com

--- Comment #21 from Matthew Henry <matt.henry1 at me.com> ---
(In reply to Ali G from comment #18)
> Hi Webkit team,
> 
> Given Simon has found the root cause and has a proposed fix here, is this
> something we can expect to see fixed soon? 
> 
> Current workaround with introducing 500ms+ delays really hurts users'
> expectations of great UX.
> 
> Thank you

Ali, I'm not sure whether this will be relevant to you given that it's been a month or so since your comment, but I've had success with a zero-delay workaround by calling getBoundingClientRect() on an element that's been styled to fill 100% of the window size within the window's resize handler.

-- 
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/20180130/ccf9999d/attachment.html>


More information about the webkit-unassigned mailing list