Zemanzo / web-marbles

Aims to recreate Marble Racing from the ground up, as a fully web based game
https://playmarbl.es/
GNU General Public License v3.0
23 stars 12 forks source link

Right-clicking the viewport freezes the mouse pointer #264

Open Sanquinary opened 4 years ago

Sanquinary commented 4 years ago

Expected behavior Upon right-clicking the viewport it's expected that the mouse pointer are to exit the viewport and move freely.

Actual behavior Right-clicking the viewport freezes the mouse pointer causing the user to be unable to move until clicking/typing something.

Reproduction steps

  1. Be on a Mac and use Google Chrome.
  2. Flip to camera-state 'Free'.
  3. Right-click the viewport.
  4. Mouse pointer frozen.

Platform OS: Mac OSX Catalina 10.15.2 Beta Browser version: Version 78.0.3904.108 (Official Build) (64-bit) Build version: 1.2.2

Additional context Cannot attach a file due to GitHub not supporting video formats. Bug has been tested on Firefox 70.0.1 (no issues) and Chrome. Tried Safari but scene would not render.

Zemanzo commented 4 years ago

Can confirm: Mac OSX Catalina 10.15.3 Google Chrome Version 80.0.3987.163 (Official Build) (64-bit) Build version 1.3.1