Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Detecting input on textbox #4

Open
jbotte opened this issue Mar 21, 2017 · 1 comment
Open

Detecting input on textbox #4

jbotte opened this issue Mar 21, 2017 · 1 comment

Comments

@jbotte
Copy link

jbotte commented Mar 21, 2017

Thanks for writing such an easy awesome onscreen keyboard!

I am using this keyboard to input on a searchbox that has autocomplete. Normally i would just be waiting for an on keyup or on input event with jquery and send the ajax request for auto completion.

I noticed that neither of those fire when using the keylime keyboard. Have you or any other users determined a work around? I am sure I will think of something but was hoping there was a best practice.

@jbotte
Copy link
Author

jbotte commented Mar 21, 2017

This was my work around with jQuery, might try and find a way to do this within the keylime codebase (without jquery) later on.
jQuery('body').on('click', '.lime-key', function(){ jQuery(':focus').trigger('input'); });

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant