Camera control won't let go on PointerUp (safari specific)

This is a follow up on this discussion.

We had the same problem (the scene froze on mouse button up, only on Safari). So we updated our version to the latest alpha, since the fix got merged in June on PR #10458

However this fix doesn’t entirely fix the issue, there is a new problem :

  • Expected :
    Camera with attached control follows the mouse movements ONLY while the left mouse button is being pressed down
  • Happening :
    Camera with attached control follow the mouse movements while the left mouse button is being pressed down, AND after it has been released.
    /!\ PLEASE NOTE that this issue only happens on Safari browser, and does not happen 100% of the time. Keep trying to move the camera with several clicks for 10 seconds and you should see it happen.

The issue is reproducable on the very void playground here :
It seems that the PointerUp event is not reliably fired.

Pinging @PolygonalSun

Hey @Faber, I can take a look at this.

1 Like

Nice ! I have no idea where to begin with. Since I noticed you alread took a shot at a related issue in the past, I thought I should bring it up on the forum. :slight_smile:

Hi, this issue is still valid (version 6.21.0), anyone has a tip how to solve this?
By the way, the stable repro is pointer up while pointer moving. The pointer up event is then fired when you stop the pointer move.
Also, the pointer up event is not fired while over an GUI element, even if the element’s isPointerBlocker and isHitTestVisible is set to false.
Easy way to reproduce is here: Simple GUI in fullscreen mode | Babylon.js Playground (

cc @PolygonalSun

Hey @karbous,

So, I’m not quite sure that I understand how to repro this. On the provided PG, my understanding is that I need to release the left mouse button, while the mouse is moving, and the pointerup event will fire when the cursor stops. Also, if the mouse button is released over a GUI element, the up event will not fire. Is that correct? If so, I am unable to repro this on 6.22.0.