Arrow keys on iPad Pro keyboard do not send key codes for DOM key press events
| Originator: | me | ||
| Number: | rdar://27352936 | Date Originated: | 14/7/16 |
| Status: | Open | Resolved: | |
| Product: | Safari | Product Version: | 9 |
| Classification: | Bug | Reproducible: | Always |
Summary: The JavaScript key up and down events are sent when the arrow keys are pressed on the iPad Pro keyboard, however all of the relevant properties of the KeyboardEvent object are either 0 or undefined. This means that it is not possible to identify which of the arrow keys was pressed. Steps to Reproduce: 1. Upload the attached HTML file to a web server and open it open an iPad Pro (either size) with the Apple iPad Pro keyboard cover attached* 2. Observe that when pressing a letter or numeric key the key code shows correctly 3. Observe that when pressing an arrow key the key code is unknown Expected Results: The keyCode property would be the same as those when pressing arrow keys on a keyboard in Safari for OS X. Actual Results: The values are undefined or 0. Version: iOS, any version of Safari running on iPad Pro. Notes: Configuration: iPad Pro (either size), with the Apple iPad Pro keyboard (again, either size). Bluetooth keyboards also have the same issue
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!