Unable to enter text into input in iframe after programmatic focus
| Originator: | mattcg | ||
| Number: | rdar://12966313 | Date Originated: | 07-Jan-2013 06:23 PM |
| Status: | Open | Resolved: | |
| Product: | Safari | Product Version: | As on iOS 6.1 beta 4 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: When calling focus() on a text input element from a touchend event called triggered on that same input element, the user will not be able to input text into the element. Pressing any of the keys on the keyboard seems to have no effect. Tapping the text input element a second time should cause the entered text to suddenly appear. Tapping it a third time will render it unusable again. Steps to Reproduce: 1) Load the attached test case in Safari on iOS 2) Tap the text input 3) Attempt to enter text using the virtual keyboard Expected Results: 1) The entered text appears Actual Results: 2) No text appears and the input box remains blank Regression: This was not present on iOS 5.0.1 or iOS 5.1. The regression began with iOS 6.0 and has continued with iOS 6.1 beta 4. Notes: The attached test case is available at: https://raw.github.com/ftlabs/fastclick/master/tests/37-reduced.html
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!