# Google Chrome started firing pointerMove events for pointerDown

**URL:** <https://forum.babylonjs.com/t/google-chrome-started-firing-pointermove-events-for-pointerdown/3202>\
**Category:** Bugs\
**Created:** [May 14, 2019, 3:04pm UTC](https://forum.babylonjs.com/t/google-chrome-started-firing-pointermove-events-for-pointerdown/3202 "2019-05-14T15:04:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![aWeirdo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/aweirdo/32/52_2.png) [@aWeirdo](https://forum.babylonjs.com/u/aWeirdo)\
**Post date:** [May 14, 2019, 3:04pm UTC](https://forum.babylonjs.com/t/google-chrome-started-firing-pointermove-events-for-pointerdown/3202/1 "2019-05-14T15:04:34Z")

</div>

Chrome is at it again 🤨 , suddenly today my custom context menu broke (on both stable and alpha), turns out chrome was firing pointerMove events with 0 movement, on pointerDown’s., (menu inits on pointerDown, opens fully on pointerUp, cancels on pointer movement)

see the bug here: (right-click anywhere on canvas)  
[https://playground.babylonjs.com/#RV2UMR](https://playground.babylonjs.com/#RV2UMR)

Chrome Version 74.0.3729.131

Not really babylon related of course, but maybe a check should be put in source?

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [May 14, 2019, 4:55pm UTC](https://forum.babylonjs.com/t/google-chrome-started-firing-pointermove-events-for-pointerdown/3202/2 "2019-05-14T16:55:07Z")

</div>

Can you open a bug on [crbug.com](http://crbug.com)?

---

<div class="post-metadata">

**Author:** ![aWeirdo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/aweirdo/32/52_2.png) [@aWeirdo](https://forum.babylonjs.com/u/aWeirdo)\
**Post date:** [May 14, 2019, 5:40pm UTC](https://forum.babylonjs.com/t/google-chrome-started-firing-pointermove-events-for-pointerdown/3202/3 "2019-05-14T17:40:35Z")

</div>

Done 🙂  
Will keep an eye out for their response

---

<div class="post-metadata">

**Author:** ![Grane](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/grane/32/2686_2.png) [@Grane](https://forum.babylonjs.com/u/Grane)\
**Post date:** [June 2, 2019, 8:43am UTC](https://forum.babylonjs.com/t/google-chrome-started-firing-pointermove-events-for-pointerdown/3202/4 "2019-06-02T08:43:28Z")

</div>

Hi, any chance there is a workaround for this. I believe it is also causing issue with the normal functioning on Arc Rotate Camera on Chrome, Desktop as well as mobile.  
May be we implement touch events instead of pointer ? Any change someone can point me in the right direction.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [June 3, 2019, 2:12pm UTC](https://forum.babylonjs.com/t/google-chrome-started-firing-pointermove-events-for-pointerdown/3202/5 "2019-06-03T14:12:02Z")

</div>

@aWeirdo: can you share the link to your bug? We can try to upvote it

---

<div class="post-metadata">

**Author:** ![aWeirdo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/aweirdo/32/52_2.png) [@aWeirdo](https://forum.babylonjs.com/u/aWeirdo)\
**Post date:** [June 3, 2019, 3:24pm UTC](https://forum.babylonjs.com/t/google-chrome-started-firing-pointermove-events-for-pointerdown/3202/6 "2019-06-03T15:24:58Z")

</div>

I’ll try to find it when i get home, but it was classified as a OS related bug and merged with another bug report, so if it happens on mobile my guess would be that it’s unrelated 🙂

---

<div class="post-metadata">

**Author:** ![aWeirdo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/aweirdo/32/52_2.png) [@aWeirdo](https://forum.babylonjs.com/u/aWeirdo)\
**Post date:** [June 3, 2019, 4:51pm UTC](https://forum.babylonjs.com/t/google-chrome-started-firing-pointermove-events-for-pointerdown/3202/7 "2019-06-03T16:51:47Z")

</div>

Here it is; [Issue 963024 - chromium - An open-source project to help move the web forward. - Monorail](https://bugs.chromium.org/p/chromium/issues/detail?id=963024)

Also note, the pointerDown issue seemingly disappeared by itself, an related pointerUp issue (down, drag, release) still occurs.

You can try to check for movement before processing the pointerMove event,

```
if(evt.movementX === 0 && evt.movementY === 0){
  return;
}

```

I haven’t had any issues since 🙂
