Orientation change causes WKWebView to zoom in after previous zoom (pinch open) and pinch close gesture

Originator:JoeandJennyKay
Number:rdar://44188896 Date Originated:
Status:DUPLICATE OF 20100815|OPEN Resolved:
Product:WebKit Product Version:iOS 11.4
Classification:Defect Reproducible:
 
Area:
WebKit

Summary:
After a pinch open to zoom has occurred and the view is then returned to normal size (pinch close) then an orientation change event occurs (the device rotated) the WKWebView zooms in on its own when it should not.

Steps to Reproduce:
1. Open a view with a WKWebView in an iOS application.
2. Pinch open to zoom on the WKWebView
3. Pinch close to return view to normal state
4. Rotate the device to create an orientation change event.

Expected Results:
The WKWebView should perform the orientation change without automatically zooming

Actual Results:
The WKWebView automatically zooms in when the orientation change occurs

Version/Build: iOS 11.4

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!