[Webkit-unassigned] [Bug 239631] New: Drag and drop link in WKWebView causes UIDragInteraction soft assert on iOS 15

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 21 16:17:00 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=239631

            Bug ID: 239631
           Summary: Drag and drop link in WKWebView causes
                    UIDragInteraction soft assert on iOS 15
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ldebeasi at gmail.com

Created attachment 458101

  --> https://bugs.webkit.org/attachment.cgi?id=458101&action=review

Code reproduction

Dragging and dropping a link in a webview on iOS 15 causes a UIDragInteraction soft assert to be logged. The full message reads:

[Assert] CLIENT APP ERROR - Neither the view or container of the UITargetedPreview is currently in a window. This is in violation of UIDragInteraction API contract and can cause a severe visual glich. THIS IS A CLIENT APP BUG and will soon be a hard assert. PLEASE FIX ME

Steps to reproduce:

1. Download attached code reproduction.
2. Open code reproduction in Xcode and deploy to a device running iOS 15.
3. Drag and drop the "A simple link" link. Observe that the sort assert is logged to the Xcode console.

Expected Behavior:

I would expect that no assert is logged when dragging and dropping.

Actual Behavior:

An assert is logged when dragging and dropping.

Other Information:

I tested this on a device running iOS 15.4.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220421/4f4567f4/attachment.htm>


More information about the webkit-unassigned mailing list