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

Virtual keyboard is not shown #12

Open
dennisguse opened this issue Mar 27, 2014 · 1 comment
Open

Virtual keyboard is not shown #12

dennisguse opened this issue Mar 27, 2014 · 1 comment

Comments

@dennisguse
Copy link
Owner

At least on android the virtual keyboard does not open.
To achieve this a textfield must be focused (and clicked).

@dennisguse dennisguse added the bug label Mar 27, 2014
@dennisguse dennisguse added this to the 2.0: Touch-screen compability milestone Apr 10, 2014
@dennisguse
Copy link
Owner Author

dennisguse commented Sep 14, 2016

Could not figure out how to do this (at least not on Android 6.0 with either Chrome or Firefox as of today).

I tried the textfield approach (input text), hiding it (opacity), and letting it always focused.
Added some logic to handle input of complete words and be capable of use predictive features of the virtual keyboard.

Works like charm (see branch virtual_keyboard [1]) except that backspace is not captured by none of the usual event-handlers (onkeypress and onkeydown) capture it.
In fact, the input of the textfield is changed - thus, we would need to figure out how the content of the textfield changed.

This is possible but will be messy, as we would need to figure out how the content was changed and add the modify our content appropriately.

TL;DR
Solving this issue seems to be needing to change the browser behavior.

I don't dared to test other mobile web browser until now.

[1] https://github.com/dennisguse/TheSchreibmaschine/tree/virtual_keyboard

@dennisguse dennisguse removed this from the Touch-screen compability milestone Sep 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant