Last modified: 2012-08-21 00:19:42 UTC
When I try to filter the list of campaigns or monuments typing in the text box seems to have no effect This seems to be due to the keyup event never firing (android 4.0.4) It seems somewhat better with keypress but this smells like a Cordova bug...
I can confirm on 4.0.4 Galaxy Nexus and 4.1.1 Nexus 7... I'm getting keydown and keypress events, but the keyup handler isn't getting called. Doesn't seem to make a difference to remove the -webkit-user-modify CSS bit.
Making a stub app seems inconsistent... with HTML/JS at http://leuksman.com/misc/key.html * Nexus One 2.3.6 -- browser - keydown+keypress+keyup -- app - keydown+keypress+keyup * Galaxy Nexus 4.0.4 -- browser - keydown+keypress+keyup -- app - keydown+keypress+keyup * Nexus 7 tablet 4.1.1 -- browser - n/a (no classic Browser app to test with) -- app - keydown+keypress (no keyup) I think we *should* get a keyup event, but I just wouldn't trust it. Virtual keyboard input is wonky. :P I'd say either go with 'keypress' or even 'input' event... 'input' appears to fire when pasting as well, yay!
Fixed with input event in https://github.com/wikimedia/WLMMobile/pull/145