Multitasking on iOS breaks input

Aperta
#663 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
frontend, mobile

Direzione di ricerca

Start by comparing Phaser CE’s iOS touch and pointer input handling with the related Phaser 3 issue #3756 mentioned in the report. Reproduce the loss of game input after swiping to return home or partially swiping on an iOS device, while checking that other browser elements remain interactive. Done means Phaser game input works again after either gesture.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

question for reporter
  • Phaser version(s):
    2.15.0 CE

  • What steps produce the bug:
    Run any phaser setup using the latest CE version (2.15.0) on an ios device (i can confirm this from an iPhone X running ios 13), and use the "swipe to return home" gesture.

  • What should happen:
    You should still have touch input within the phaser game

  • What happens instead:
    Whether you fully swipe the browser away (and return to it) or partially swipe it away (so you don't actually return home, the browser comes back), we lose all input within the phaser game (we don't lose input events in the browser in general of course - i can confirm this, as other html elements are still interactive)

I have deliberately copied the title of an issue on the Phaser 3 repo:
https://github.com/photonstorm/phaser/issues/3756
as it seems to be the same issue (as i understand it), but apparently not resolved on phaser 2 ce.

Lingua principale
JavaScript
Stelle
1.4k
Fork
485
Merge medio
1g 2h
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di phaserjs/phaser-ce

Tutte le issue di phaserjs/phaser-ce

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.