diff --git a/front/src/Phaser/Login/LoginScene.ts b/front/src/Phaser/Login/LoginScene.ts index 4055fdd3..a57eac5f 100644 --- a/front/src/Phaser/Login/LoginScene.ts +++ b/front/src/Phaser/Login/LoginScene.ts @@ -72,6 +72,11 @@ export class LoginScene extends ResizableScene { } this.login(this.name); }); + + this.events.on('destroy', () => { + // Make sure the virtual keyboard isn't visible in the next scene + nameInputElement.blur() + }) } update(time: number, delta: number): void {