Jump to content

mobile keyboard enter event on text input


mohammad_aqajani
 Share

Recommended Posts

hello,

Phaser 3:

I use this code for a simple text input to get the value of it on ENTER press event:

enterE = this.input.keyboard.addKey(Phaser.Input.Keyboard.KeyCodes.ENTER);

but as chrome and some other mobile browsers user "go" instead of "enter", the above event does not trigger!

is there any keyCode other than ENTER for that ??

or should use jquery??

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...