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

Re: Capturing Problems Example

From: Scott González <scott.gonzalez@gmail.com>
Date: Fri, 12 Apr 2013 12:00:44 -0400
Message-ID: <CAO8i3ifgf6zgXjPg39dyZinZz0V4ssF+PTfHZET99+WL7LA5yA@mail.gmail.com>
To: Konstantinov Sergey <twirl@yandex-team.ru>
Cc: Brandon Wallace <brandon.wallace@yahoo.com>, Pointer Events WG <public-pointer-events@w3.org>
On Fri, Apr 12, 2013 at 11:53 AM, Konstantinov Sergey
<twirl@yandex-team.ru>wrote:

> In first, that's not a solution. What if I need the outer div to be
> dragged just by moving pointer without pressing mouse button?


That's not the use case you presented. We can't argue about specific
implementation about infinite possible use cases. Each use case may have a
different solution.

What to do if I want to drag the outer div by two fingers, not one? Two
> different captures on two different elements is a mess, and I seriously
> doubt that developers will find this method obvious.
>

Where is the code showing how this is easy without pointer capture and a
mess with it? If it's a mess, don't use it. Your concern is that people
will misuse it and it'll break everything. Now your concern is that people
won't use it? This is a convenience API; if it's not convenient for a given
task, don't use it.


> In second, if there is only one correct way to handle the capturing, then
> the capturing API should not allow any other uses.
>

There was a proposal just now. How about we actually discuss the proposal
instead of continuing to complain about the current API?
Received on Friday, 12 April 2013 16:01:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:20:25 UTC