[Webkit-unassigned] [Bug 227364] iOS WKWebView findString not selecting and scrolling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 24 12:48:47 PDT 2021


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

Wenson Hsieh <wenson_hsieh at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wenson_hsieh at apple.com

--- Comment #1 from Wenson Hsieh <wenson_hsieh at apple.com> ---
FWIW, the documentation does suggest that the matching range ought to be selected and scrolled into view:

```
/* @abstract Searches the page contents for the given string.
 @param string The string to search for.
 @param configuration A set of options configuring the search.
 @param completionHandler A block to invoke when the search completes.
 @discussion If the WKFindConfiguration is nil, all of the default WKFindConfiguration values will be used.
  A match found by the search is selected and the page is scrolled to reveal the selection.
  The completion handler is called after the search completes.
*/
- (void)findString:(NSString *)string withConfiguration:(nullable WKFindConfiguration *)configuration completionHandler:(void (^)(WKFindResult *result))completionHandler NS_REFINED_FOR_SWIFT WK_API_AVAILABLE(macos(11.0), ios(14.0));
```

-- 
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/20210624/73cae3ea/attachment.htm>


More information about the webkit-unassigned mailing list