Find-in-page on nyt.com scrolls around without touching the screen when find holes...
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 26 Jan 2019 00:44:42 +0000 (00:44 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 26 Jan 2019 00:44:42 +0000 (00:44 +0000)
commite601f9d3ea1194e373b77544976126cecba1d42c
treee640fe80680fb6b653e2982c3a42ad78fa2b11be
parent770df3aa892b4315e7193e7ddb9b1e51ea8f356a
Find-in-page on nyt.com scrolls around without touching the screen when find holes are visible
https://bugs.webkit.org/show_bug.cgi?id=193853

Reviewed by Simon Fraser.

* WebProcess/WebPage/ios/FindControllerIOS.mm:
(WebKit::FindController::updateFindIndicator):
There is no reason to scroll/zoom to the find indicator just because the
holes are up, we should only do it on initial indicator presentation.
This was a mistake in r178755 that was previously never exercised because
isShowingOverlay was always false.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/WebProcess/WebPage/ios/FindControllerIOS.mm