-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Joystick is not released when moved out of the window only chrome and IE #57
Comments
Do you have a setup I can test. I can't reproduce it in the demo. |
Hi, This can be reproduced in demo. This happens on IE and chrome but not on firefox. This is for the static mode (static tab). |
what would be the expected behavior? |
I would expect the behaviour should be as it is behaving in the firefox. The joystick should be released. |
that would be cool indeed, the issue is Chrome (and probably IE too) won't let you track the mouse move outside the window. |
Okay, So firefox would track the mouse move outside the window. |
touchcancel event it fix the problem!, $(document).on('touchcancel', function(event) { |
For a static joystick, when we drag the joystick outside the position where it exists, the joystick is not released and we have to do an extra click to release it.
Steps:
The text was updated successfully, but these errors were encountered: