[Webkit-unassigned] [Bug 165225] UIViewController with WkWebView presented modally causes the presented UIViewController to be dismissed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 1 15:05:27 PST 2016


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

--- Comment #4 from Brad Wright <bwright2 at apple.com> ---
Created attachment 295902
  --> https://bugs.webkit.org/attachment.cgi?id=295902&action=review
Example Project that demonstrates the problem

The example project that demonstrates the problem in the WKWebView that this change is trying to solve.

1. Compile and run the project in an iPhone Simulator.
2. When the simulator launches, click on the button in the main view called "launch modal web view".
3. Click the "Choose File" button.
4. Select "iCloud" or "Photo Library" from the menu.
5. The modal web view gets dismissed by this WebKit bug.

The web view should not get dismissed.  The problem here is that the WebKit is trying to close a UIDocumentMenuViewController by calling dismissViewControllerAnimated.  The UIDocumentMenuViewController automatically dismisses itself.  This extra call to dismissViewControllerAnimated is dismissing the modally presented WkWebView.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161201/01aafe5d/attachment-0001.html>


More information about the webkit-unassigned mailing list