nipplejs icon indicating copy to clipboard operation
nipplejs copied to clipboard

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

Open abobco opened this issue 5 years ago • 5 comments

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 avatar Sep 27 '19 17:09 abobco

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

umeruma avatar Oct 02 '19 03:10 umeruma

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

jmartinezuk avatar Oct 02 '19 20:10 jmartinezuk

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

yoannmoinet avatar Oct 04 '19 08:10 yoannmoinet

The faulty commit is probably https://github.com/yoannmoinet/nipplejs/commit/9a8a7b4 Going back to 0.8.1 would fix it temporarily, thanks @jmartinezuk !

yoannmoinet avatar Oct 04 '19 08:10 yoannmoinet

ios 13.2 can run correctly now.

wxchenxueqi avatar Oct 31 '19 08:10 wxchenxueqi