pointer events not dispatched with touch on Windows after getBoundingClientRect() called
Categories
(Core :: DOM: Events, defect)
Tracking
()
People
(Reporter: jack, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36
Steps to reproduce:
Reduced test case with details: https://codepen.io/GreenSock/pen/WNvXzYW?editors=0010
Call element.getBoundingClientRect() and element.transform.baseVal.consolidate() in a "pointerdown" event handler, and add a "pointermove" event listener...those events won't fire thereafter!
Actual results:
No pointermove events fired.
Expected results:
pointermove events should fire.
Comment 1•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•6 years ago
|
||
I don't have the hardware required to evaluate this report. smaug, can you take a look?
Another tidbit: the problem only seems to occur if the SVG element is in the DOM (the one on which transform.baseVal.consolidate() is called). If I copy the transform value into a different element that's NOT in the DOM at all, and call transform.baseVal.consolidate() on that, it doesn't trigger the bug.
Comment 4•5 years ago
|
||
Hi Kagami,
It's another time to take advantage of your laptop. Can you help us to see if it's reproducible and provide some debugging info? Thanks.
Comment 5•5 years ago
|
||
I can repro on Firefox 74, but not on Nightly 76. Mozregression says this is fixed in Bug 1610171.
Comment 6•5 years ago
|
||
Thanks, Kagami!
Description
•