Re: Capturing Problems Example

In your capt version, will you achieve your goal if you replace:





 From: Konstantinov Sergey <>
To: Pointer Events WG <> 
Sent: Friday, April 12, 2013 9:57 AM
Subject: Capturing Problems Example

I made the test pages to demonstrate both capturing problem and the lack of standard functionality

Both pages demonstrate the same scenario:
- outer gray div is draggable
- inner gray div opens "context menu" on two-finger tap.

doc.html - example using document.addEventListener with capturing
capt.html - example using setPointerCapture.

You may note that:
(a) in the capturing example the context menu functionality is broken because the inner div never recieve 'pointerup' event;
(b) furthermore, there is a constant memory leak because we need to save the pointers position but never catch the 'pointerup' event.

Konstantinov Sergey
Yandex Maps API Development Team Lead

Received on Friday, 12 April 2013 15:12:49 UTC