question

mike avatar image
mike asked

KeyPress event returning 0 - Kindle Fire HD "8.9

For my website I have a textfield with a default value and will be removed upon keypress based on a valid value but on Kindle Fire HD "8.9 using the silk browser I've noticed keypress doesn't register for any of the alpha keys only the numeric keys register a keyvalue as well as the delete button. You can test this by going to these pages http://api.jquery.com/event.which/ or http://www.angularjshub.com/examples/eventhandlers/keyboardevents/ on the kindle. Any reason for this? I'm using System Version 7.4.9 not sure how to find silk browser version :/ Other kindle devices work though.
fire tablet
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Mike, I tested couple of our devices with below page http://www.angularjshub.com/examples/eventhandlers/keyboardevents/ 1. Kindle 1st Gen -> Browser (not Silk): 1.0.22.79-debug_10013300 Result : Work as expected, key code is detected for both numeric and alpha numeric keys. 2. Kindle 2nd Gen -> Silk Browser : 1.0.235.636-Gen5_40050910 Result: Only numeric key codes are recognized 3. Kindle HD 7 -> Silk Browser : 1.0.401.3-Gen5_52112010 Result: Only numeric key codes are recognized 4. Kindle HDX 8.9 -> Silk Browser : 1.0.708.3-Gen6_52111910 Result: No Key codes are detected 5. Kindle HDX 7 -> Silk Browser : 1.0.708.3-Gen6_52111910 Result: No Key codes are detected All 4th Gen devices-> Silk Browser : 1.0.170.0-Fire_60136710 Result: No key codes are detected Since you have said " Other kindle devices work though.", could you please clarify what are the devices you have tested so far?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.