You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drag your mouse outside the bounds of the browser and right click. Click anywhere outside the browser to close the right click menu. 4. The joystick remains in the position it was before I right clicked outside the window. Moving the mouse outside the browser window or clicking outside the window have no effects. 5. Moving the mouse back into the browser field results in the nipple tracking the mouse even though I am not clicking or holding any mouse buttons.
Expected behaviour
I expected that once I clicked outside the browser and the page lost focus, the joystick would reset to it's resting position. Furthermore, I would expect that the nipple should not track the mouse when the mouse is not held down. Additionally, it would be desirable that if the cursor left the document the nipple could reset to its resting position.
Screenshots, Codepen or JSFiddle
Reproduced in this the provided Codepen with no changes made to the code.
Gif of the bug:
Desktop (please complete the following information):
OS: Ubuntu 16.04 LTS (64 bit)
Browser Chrome
Version: 77.0.3865.120
Additional context
This bug was found on version 0.8.4 of Nipple.
The text was updated successfully, but these errors were encountered:
The same happens on mobile when you pull down the iOS menu or switch to other app. The joystick stays blocked
I was able to fix it with a patch.
I listen to the "touchcancel" event on the document body and I re-setup the joysticks
But probably, in nipplejs source code, the event.end should be triggered on touchcancel
Describe the bug
The joystick can become stuck if you right click outside your document.
To Reproduce
Reproduced using the demo provided.
4. The joystick remains in the position it was before I right clicked outside the window. Moving the mouse outside the browser window or clicking outside the window have no effects.
5. Moving the mouse back into the browser field results in the nipple tracking the mouse even though I am not clicking or holding any mouse buttons.
Expected behaviour
I expected that once I clicked outside the browser and the page lost focus, the joystick would reset to it's resting position. Furthermore, I would expect that the nipple should not track the mouse when the mouse is not held down. Additionally, it would be desirable that if the cursor left the document the nipple could reset to its resting position.
Screenshots, Codepen or JSFiddle
Reproduced in this the provided Codepen with no changes made to the code.
Gif of the bug:
Desktop (please complete the following information):
Additional context
This bug was found on version 0.8.4 of Nipple.
The text was updated successfully, but these errors were encountered: