Bug 141214 - [iOS] Selection callout does not follow selection when double-tap scrolling
Summary: [iOS] Selection callout does not follow selection when double-tap scrolling
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-03 15:17 PST by Joseph Pecoraro
Modified: 2015-02-04 20:28 PST (History)
4 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (2.50 KB, patch)
2015-02-03 15:20 PST, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2015-02-03 15:17:04 PST
* SUMMARY
Selection callout does not follow selection when double-tap scrolling. Compare to zooming / scrolling manually.

* STEPS TO REPRODUCE
1. Load <http://www.cnn.com/2015/02/02/us/airport-security-investigation/index.html>
2. Select some text to get a callout bar
3. Double tap to scroll to a different paragraph
  => expected callout bar to follow selection, it did not
Comment 1 Joseph Pecoraro 2015-02-03 15:17:25 PST
<rdar://problem/19695723>
Comment 2 Joseph Pecoraro 2015-02-03 15:20:09 PST
Created attachment 245975 [details]
[PATCH] Proposed Fix

I suppose other places that call setContentOffset:animated: directly might have the same problem?
Comment 3 Benjamin Poulain 2015-02-04 19:45:53 PST
Comment on attachment 245975 [details]
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=245975&action=review

> Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm:1415
> +- (void)scrollViewDidEndScrollingAnimation:(UIScrollView *)scrollView
> +{
> +    [self _didFinishScrolling];
> +}
> +

Ooops, this is pretty important.
Comment 4 WebKit Commit Bot 2015-02-04 20:28:45 PST
Comment on attachment 245975 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 245975

Committed r179668: <http://trac.webkit.org/changeset/179668>
Comment 5 WebKit Commit Bot 2015-02-04 20:28:48 PST
All reviewed patches have been landed.  Closing bug.