ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #07346
Re: Triggering on-screen keyboard with HTML5 SDK
On Wed, Mar 26, 2014 at 3:48 PM, Alexandre Abreu
<alexandre.abreu@xxxxxxxxxxxxx> wrote:
On Wed, Mar 26, 2014 at 3:04 PM, Robert Schroll <rschroll@xxxxxxxxx>
wrote:
Once focus is on the input, the keydown, keyup, and keypress events
will trigger text to be added to the three bottom lines. This works
in the browser and in the HTML5 launcher, but it does not work on
the device (er, emulator).
they are not supported yes w/ the OSK, but you can still make it work
by trapping the 'input' event:
document.querySelector("input").addEventListener('input', function(e)
{ console.log(e.target.value); });
Thanks. That may be the work-around I need to make my original
work-around work.
Is there a bug about this I should be watching?
Thanks,
Robert
Follow ups
References