W3C home > Mailing lists > Public > public-pointer-events@w3.org > April to June 2017

Re: [pointerevents] Add OS image dragging to non-normative reasons for pointercancel

From: Navid Zolghadr via GitHub <sysbot+gh@w3.org>
Date: Tue, 16 May 2017 14:34:11 +0000
To: public-pointer-events@w3.org
Message-ID: <issue_comment.created-301801904-1494945249-sysbot+gh@w3.org>
So are there any scenarios anyone can imagine that the following solution would fail:

- `pointercancel` (and `lostpointercapture` if needed) will be dispatched immediately before `dragstart`.
- If the author doesn't like that, the author ought to `downEvent.preventDefault()` to prevent drag from occurring.

@patrickkettner @smaug---- are you guys also happy with this solution?
I'll give it a few days before modifying [my patch](https://github.com/w3c/pointerevents/pull/201) to address this as well.

-- 
GitHub Notification of comment by NavidZ
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/205#issuecomment-301801904 using your GitHub account
Received on Tuesday, 16 May 2017 14:34:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 May 2017 14:34:18 UTC