Skip to content
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

[BUG] Joystick is unresponsive when using pixi.js and iOS 13 #122

Open
abobco opened this issue Sep 27, 2019 · 5 comments · May be fixed by #123
Open

[BUG] Joystick is unresponsive when using pixi.js and iOS 13 #122

abobco opened this issue Sep 27, 2019 · 5 comments · May be fixed by #123

Comments

@abobco
Copy link

abobco commented Sep 27, 2019

Describe the bug
Joystick is unresponsive when using pixi.js and iOS 13. The only events that seem to fire are 'start', 'end', 'added', and 'removed'.

To Reproduce
Steps to reproduce the behavior:

  1. Attach the joystick to the same document as a pixi application
  2. Access the app with an iOS 13 updated device
  3. Try to move the joystick

Expected behavior
Joystick should move and trigger directional events, as it does on android and previous versions of iOS.

Screenshots, Codepen or JSFiddle
https://codepen.io/abobco/pen/RwbOzrv

Smartphone:

  • Device: iPhone 8
  • OS: iOS 13.1
  • Browser: safari, chrome
  • Version: nipplejs: 0.8.3, pixi.js : 5.1.5
@abobco abobco added the bug label Sep 27, 2019
umeruma added a commit to umeruma/nipplejs that referenced this issue Oct 2, 2019
umeruma added a commit to umeruma/nipplejs that referenced this issue Oct 2, 2019
umeruma added a commit to umeruma/nipplejs that referenced this issue Oct 2, 2019
@umeruma umeruma linked a pull request Oct 2, 2019 that will close this issue
@umeruma
Copy link

umeruma commented Oct 2, 2019

@abobco I got same situation with Phaser 3. Maybe my pull request fixes this bug.

@jmartinezuk
Copy link

jmartinezuk commented Oct 2, 2019

Same here with a THREE.js based game.
EDIT: went back to 0.8.1 to get it working again

@yoannmoinet yoannmoinet changed the title [BUG] [BUG] Joystick is unresponsive when using pixi.js and iOS 13 Oct 4, 2019
@yoannmoinet
Copy link
Owner

Thanks for the detailed report, and thanks for the PR @umeruma !
I've commented on it.

@yoannmoinet
Copy link
Owner

The faulty commit is probably 9a8a7b4
Going back to 0.8.1 would fix it temporarily, thanks @jmartinezuk !

@wxchenxueqi
Copy link

ios 13.2 can run correctly now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants