Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Mobile devices, TextInput doesn't work #121

Open
holywyvern opened this issue Feb 4, 2018 · 1 comment
Open

On Mobile devices, TextInput doesn't work #121

holywyvern opened this issue Feb 4, 2018 · 1 comment
Labels

Comments

@holywyvern
Copy link

When you are using a TextInput element on a mobile device, the soft keyboard doesn't appear.

I was looking for a solution to force the keyboard out, but it seems the only way to have a keyboard button in our html5 game is using a DOM input over the canvas, or not so nice solutions as "prompt"

@brean
Copy link
Collaborator

brean commented Feb 4, 2018

This is a known issue, I started to create a keyboard-wrapper solution but although I got some features in there it did not do all the things that a DOM input/textarea provides (like line breaks). It took quite some time and because I am not working on gown anymore I fear that this will never be solved... anyway, if you like to hacke your own solution you can take a look at the keyboard_refactoring-branch for inspiration, especially those files:
https://github.com/GreyRook/gown.js/blob/keyboard_refactoring/src/utils/DOMInputWrapper.js
https://github.com/GreyRook/gown.js/blob/keyboard_refactoring/src/utils/KeyboardInputWrapper.js

@brean brean added the bug label Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants