Issue metadata
Sign in to add a comment
|
Pointer-events report 'move' after 'up'
Reported by
roderick...@gmail.com,
Dec 16 2016
|
||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Steps to reproduce the problem:
1. Attach pointer-event listeners to body
I've added pointerdown, -move, -up and -cancel using jQuery in the example for simplicity.
$(document.body).on("pointerdown pointermove pointerup pointercancel", handlePointerEvents);
I also tried with separate lines using vanilla js but it has the same result:
document.body.addEventListener("pointerdown", handlePointerEvents);
2. Click somewhere in the document
See example (attached or live @ http://test.rejh.nl/pointer-events/)
What is the expected behavior?
I expect the following events, in this order:
1. pointerdown
2. pointerup
What went wrong?
I get the following events, in this order:
1. pointerdown
2. pointerup
3. pointermove
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: 55.0.2883.87 Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 24.0 r0
I tested this in Edge and it works as I expect.
|
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by dtapu...@chromium.org
, Dec 16 2016Status: Duplicate (was: Unconfirmed)