Changeset 240531 in webkit


Ignore:
Timestamp:
Jan 25, 2019 4:44:42 PM (5 years ago)
Author:
timothy_horton@apple.com
Message:

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.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r240525 r240531  
     12019-01-25  Tim Horton  <timothy_horton@apple.com>
     2
     3        Find-in-page on nyt.com scrolls around without touching the screen when find holes are visible
     4        https://bugs.webkit.org/show_bug.cgi?id=193853
     5
     6        Reviewed by Simon Fraser.
     7
     8        * WebProcess/WebPage/ios/FindControllerIOS.mm:
     9        (WebKit::FindController::updateFindIndicator):
     10        There is no reason to scroll/zoom to the find indicator just because the
     11        holes are up, we should only do it on initial indicator presentation.
     12        This was a mistake in r178755 that was previously never exercised because
     13        isShowingOverlay was always false.
     14
    1152019-01-25  Keith Rollin  <krollin@apple.com>
    216
  • trunk/Source/WebKit/WebProcess/WebPage/ios/FindControllerIOS.mm

    r239535 r240531  
    106106    m_findIndicatorOverlay->setNeedsDisplay();
    107107
    108     if (isShowingOverlay || shouldAnimate) {
     108    if (shouldAnimate) {
    109109        FloatRect visibleContentRect = m_webPage->mainFrameView()->unobscuredContentRectIncludingScrollbars();
    110110
Note: See TracChangeset for help on using the changeset viewer.