Bug 198696

Summary: Drag starting state can get stuck even though the drag has ended
Product: WebKit Reporter: Dean Jackson <dino>
Component: New BugsAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch wenson_hsieh: review+

Description Dean Jackson 2019-06-08 18:39:40 PDT
Drag starting state can get stuck even though the drag has ended
Comment 1 Dean Jackson 2019-06-08 18:41:35 PDT
Created attachment 371693 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2019-06-08 18:42:30 PDT
<rdar://problem/51556045>
Comment 3 Wenson Hsieh 2019-06-08 18:44:39 PDT
Comment on attachment 371693 [details]
Patch

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

> Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:6746
> +        RELEASE_LOG(DragAndDrop, "Drag session willAnimateLiftWithAnimator: %p (animation completion block fired)", session);

Nit - this is redundant in the case where finalPosition == UIViewAnimatingPositionStart. Maybe add this logging state as an `else` clause of the `if (finalPosition == UIViewAnimatingPositionStart)` below?
Comment 4 Dean Jackson 2019-06-09 13:03:34 PDT
Committed r246239: <https://trac.webkit.org/changeset/246239>