Hey all. I was playing around in my game and saw that the
pointerUp event won’t get fired when I leave the screen with the right mousebutton pressed.
Steps to reproduce:
- Open up https://playground.babylonjs.com/#DWPQ9R#1
- Make the browser window a little smaller (so you have space on the right side to move outside the browser window)
- Keep the right mouse pressed and move outside the window
- When returning inside the window it will move without pressing the button
It does however work with the Left mouse button. Is this a bug or is this working as intended?
Maybe something related? [Solved] mousedown action sticks on canvas after mouseout - Questions & Answers - HTML5 Game Devs Forum (bit old but still)