[Webkit-unassigned] [Bug 202287] pointerdown events are not fired for clicks that follow a drag&drop.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 1 04:40:14 PDT 2019


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

--- Comment #3 from Antoine Quint <graouts at apple.com> ---
We're actually dispatching a "pointermove" event instead of a "pointerdown" event because we believe the pointer is still pressed in PointerCaptureController::pointerEventForMouseEvent():

        // We're already active and getting another mousedown, this means that we should dispatch
        // a pointermove event and let the button state show the newly depressed button.
        if (type == names.mousedownEvent && capturingData.pointerIsPressed)
            return PointerEvent::create(names.pointermoveEvent, button, mouseEvent);

We must not clear the pointerIsPressed state during drag-and-drop.

-- 
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/20191001/230bd0af/attachment-0001.html>


More information about the webkit-unassigned mailing list