<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UIViewController with WKWebView presented modally causes the presented UIViewController to be dismissed."
   href="https://bugs.webkit.org/show_bug.cgi?id=165225#c31">Comment # 31</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UIViewController with WKWebView presented modally causes the presented UIViewController to be dismissed."
   href="https://bugs.webkit.org/show_bug.cgi?id=165225">bug 165225</a>
              from <span class="vcard"><a class="email" href="mailto:bwright2&#64;apple.com" title="Brad Wright &lt;bwright2&#64;apple.com&gt;"> <span class="fn">Brad Wright</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=303250" name="attach_303250" title="Example test project for reproducing the problem.">attachment 303250</a> <a href="attachment.cgi?id=303250&amp;action=edit" title="Example test project for reproducing the problem.">[details]</a></span>
Example test project for reproducing the problem.

Here's an example test project that was created to reproduce the problem.  

To Test:

1.  Drag the project into the WebKit.xcworkspace
2.  Compile and run.
3.  Click on the button on the main window to launch the modal WKWebView.
4.  Click on the button inside the WKWebView.
5.  Select Photos or Cloud from the menu.
6.  Without the fix, the Modal WKWebView will get disappear.
7.  With the fix, you will be able to select a photo.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>