<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - WKActionSheet tries to present on wrong view controller"
href="https://bugs.webkit.org/show_bug.cgi?id=157431#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - WKActionSheet tries to present on wrong view controller"
href="https://bugs.webkit.org/show_bug.cgi?id=157431">bug 157431</a>
from <span class="vcard"><a class="email" href="mailto:kevin@sb.org" title="Kevin Ballard <kevin@sb.org>"> <span class="fn">Kevin Ballard</span></a>
</span></b>
<pre>Another possible fix is instead of getting the window of the host view, it could instead walk the nextResponder chain until it finds a UIViewController and present on that. This is probably a better solution than walking the presentedViewController chain (and probably what the hypothetical `[_sheetDelegate hostViewControllerForSheet]` would have to do anyway since WKWebView doesn't know what view controller it's inside of).</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>