Multitasking on iOS breaks input

Abierto
#663 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
frontend, mobile

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
JavaScript
Estrellas
1.4k
Forks
485
Merge medio
1 d 2 h
PR fusionados (30 d)
9

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de phaserjs/phaser-ce

Todos los issues de phaserjs/phaser-ce

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.