ArcCamera <iframe> mouseUp not triggered

Hi

I put BabylonJS scene with the ArcCamera in StoryBook and noticed that when you:

  1. press the mouse button to drag your camera around scene
  2. drag it outside frame of StoryBook (still holding the button to drag)
  3. realis mouse button outside the StoryBook iframe
  4. return to the iframe with a released mouse, the ArcCamera is still dragging your view.

So it’s not detecting mouseUp outside the iframe.

Regards

Hello, this is expected has the event are not captured outside the boundary of the window (or the iframe).

I think you can add an observer to engine.onCanvasBlurObservable and try to call scene.simulatePointerUp() in this case

The iframe.

You can make a test for yourself.

I do not think that putting observer is a solution for a framework bug don’t you think??

You should detect mouse Up outside by default.

Regards

this is expected has the event are not captured outside the boundary of the window (or the iframe).

By that I mean it is because the browser DOES NOT send us the up event.