Urho3D is having trouble keeping the mouse locked in Emscripten builds. When the (invisible) mouse cursor reaches the edge of the screen it just stops moving further. The result is, in my 3D game, the user can only turn so far in either direction or look up or down so far in either direction.
I have tried the different mouse modes with different results, none of them allowing complete free look.
Here is an example (only works in Chrome right now).
I am using Emscripten 2.0.8 because anything newer will not compile Urho3D.