Camera sticks to pointerdown when going out of the screen

Lemme take a closer look. I can’t repro it on Safari but I can repro it on MacOS Chrome. If it’s what I think it is, it should be easy to fix.

Okay, so here’s what’s going on. When the cursor (with the RMB down) leaves the window, pointer capture is lost and if the RMB is release outside of the window, it won’t be caught by the canvas. This appears to be an issue with Chromium based, MacOS browsers. I’m trying to see if I can figure out a workaround, in the meantime.

Thank you! I suspected the same thing and I am trying to find a workaround as well. If I figure anything out I will update this thread. Will also be checking back to see if you find a solution. Thanks again!

Hey, so I’ve got sort of a workaround. I’ll have to check with the Babylon Team to see what their thoughts are it but I have a PR that would treat the lostpointercapture event as a button release event, effectively resetting mouse input. I should have more info on Monday.

Amazing, thank you!

Hey @SonnyC56,
So this isn’t a fix but I merged a workaround of sorts. Basically, when the cursor leaves the window with something other than the LMB pressed, it will just treat it as though it released the button. Sadly, the Chromium bug hasn’t been touched since it was filed a few years ago and it doesn’t look like they’re gonna fix it any time soon.