Closed Bug 1620787 Opened 6 years ago Closed 5 years ago

pointer events not dispatched with touch on Windows after getBoundingClientRect() called

Categories

(Core :: DOM: Events, defect)

73 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1610171

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.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → DOM: Events
Product: Firefox → Core

I don't have the hardware required to evaluate this report. smaug, can you take a look?

Flags: needinfo?(bugs)

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.

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.

Flags: needinfo?(bugs) → needinfo?(krosylight)

I can repro on Firefox 74, but not on Nightly 76. Mozregression says this is fixed in Bug 1610171.

Flags: needinfo?(krosylight)

Thanks, Kagami!

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.