[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
Mon Apr 24 12:59:38 PDT 2017


--- Comment #11 from Tim Horton <thorton at apple.com> ---
(In reply to ae from comment #9)
> Hello. I'm not completely sure really what changed and when,

Right, but I need to figure that out, so I can fix it!

> all I know is that the app's orientation change handling was broken the moment I updated to iOS 10.3.1. 
> Here's some debug output from the handlers (window.orientation in
> parentheses) :

Can you reduce the app to something you're willing to share? Either here, or at bugreport.apple.com if you would prefer?

> Note that there's NEVER a correct 'resize' event generated with the correct
> values for innerWidth/innerHeight!
> Hope this helps. Probably a difficult one to get fixed.

If you can't reduce the app to something you can share, perhaps you could look at the test page that I attached and see what might be different between it and your app that causes this problem to not reproduce in the test page?

I need to get to the point where I can reproduce the problem in order to diagnose.

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/20170424/2921da85/attachment.html>

More information about the webkit-unassigned mailing list