[Webkit-unassigned] [Bug 204271] UIEvents Event Detection Gives False Positives for Drag events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 16 17:59:03 PST 2019


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

--- Comment #3 from dhtmlkitchen at gmail.com <dhtmlkitchen at gmail.com> ---
@Wenson_Hsieh — If not draggable is intended behavior then there are three bugs here. 

1) BUG: browser reports false positives for drag events. 
— Remove all drag events so that the example code to detect drag support results false (no false positives for support check).

2) BUG: browser reports false positive for `draggable` property. The draggable property returns true if the element is draggable; otherwise, it returns false.

```
isDraggableSupported = (()=> {
   const div = document.createElement("div");
div.setAttribute("draggable", "true");
return div.draggable === true;
})();
```

isDraggableSupported must be false if draggable doesn't work, true otherwise. 

3) BUG: Documentation says drag drop is supported in iOS. This is wrong and misleading. The code does not do what the author says it does. If the code is not intended to work in iOS, then the documentation must say so. Current documentation does not reflect reality and is not easily tested. 3a) Make documentation reflect reality and 3b) make the demo run in the browser so it can be easily tested over http (so we don't need to copy, paste into a file, save, start a server, connect the iOS device to the computer via USB -- work the article's author apparently never did.

-- 
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/20191117/f0119747/attachment.htm>


More information about the webkit-unassigned mailing list