andyearnshaw/keyLime

Detecting input on textbox

jbotte opened this issue · 1 comments

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.

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'); });