| Summary: | REGRESSION (iOS WebKit2): Selection rect disappears on touch up on google result | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Enrica Casucci <enrica> | ||||
| Component: | WebKit2 | Assignee: | Enrica Casucci <enrica> | ||||
| Status: | CLOSED WONTFIX | ||||||
| Severity: | Normal | Keywords: | InRadar | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | iPhone / iPad | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Enrica Casucci
2014-06-04 14:40:57 PDT
Created attachment 232503 [details]
Patch
Comment on attachment 232503 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=232503&action=review > Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:755 > +- (void)cancelHighlight > +{ > + [_highlightLongPressGestureRecognizer cancel]; > +} You can just expose _cancelLongPressGestureRecognizer. Or if you really need a separate call, use [self _cancelLongPressGestureRecognizer]. (In reply to comment #2) > (From update of attachment 232503 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=232503&action=review > > > Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:755 > > +- (void)cancelHighlight > > +{ > > + [_highlightLongPressGestureRecognizer cancel]; > > +} > > You can just expose _cancelLongPressGestureRecognizer. Or if you really need a separate call, use [self _cancelLongPressGestureRecognizer]. I did not see that. I'll use that one directly. No need for this patch then. Thanks! |