-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Mask doesn't update on Windows 8 mobile or Blackberry playbook #213
Comments
Just noticed same issue on Opera mobile on Android Nexus 4 |
@gavmck , I don't own a win8 mobile device or blackberry, ... so to solve this I need more info. Can I download a virtual win8 mobile device emulator and a blackbarry one? Can you submit the useragent string per device? I will test the opera on android. best regards, Robin |
Hey thanks for the fast reply! Great plugin by the way. The windows 8 emulator is packaged up in the windows mobile SDK which you can grab here I think: http://dev.windowsphone.com/en-us/downloadsdk I'll go find a blackberry emulator next. Will get the UA strings tomorrow as they're office test devices. Thanks |
Do you have another tablet available? This appears to run a blackberry VM http://www.softpedia.com/get/Programming/Other-Programming-Files/BlackBerry-Playbook-Simulator.shtml |
Doing some testing over here today. It appears Opera Mobile, Blackberry playbook and the Windows 8 mobile are not firing the onkeypress event. Windows 8 mobile fires the keyup event Will update with more info as I get it |
Strangely all browsers return true for: 'onkeypress' in document.createElement('input'); |
Scratch that Opera fires keypress events after the mask area but not in it. |
Just a thought. The "keypress" event might be present in the object because |
@gavmck , @sompylasar , I tested a bit for Opera mobile on android. keydown, keypress, keyup get fired, but I cannot prevent the input by preventdefault or return false; also the caretpositioning is not working at all. Robin |
Been doing more Windows Mobile testing today. JS can't seem to get past the .setValue() call in the keypressEvent function. I had to manually call keypressEvent(e) from the keyDownEvent function as keypress doesn't fire on that device. It seems that it's not possible to update the value of the input whilst typing in it. |
This evening I will download the wp8 sdk and give it a try. Propably there is another js error which prevents the creation of the _setValue fn, ... an so fails further in the event. |
@gavmck , I will continure for the blackberry as the win8 phone sdk required windows 8. http://developer.blackberry.com/devzone/develop/simulator/sim_index.html for the simulator |
@gavmck , I just tested the latest version with the Blackbarry 10 Simulator and it all worked fine. I tried with the "soft"-keyboard and with the hardware keyboard. |
When typing into a masked text input on Windows 8 mobile or Blackberry Playbook, the mask stays as per the original and doesn't remove itself as you type until you exit the field.
Have tried manually triggering keyup, keydown, keypress and change using a setInterval running whilst focused in the field, but seems to have no effect. Which event is updating the mask bound to?
The text was updated successfully, but these errors were encountered: