Can't type into text field in iframe after tapping twice

Number:rdar://12967017 Date Originated:07-Jan-2013 07:18 PM
Status:Open Resolved:
Product:Safari Product Version:As on iOS 6.1 beta 4
Classification:Other Bug Reproducible:Always

If an event listener is added to the document for any touch event (touchstart/touchmove/touchend) and there is an iframe in the document which contains a text input element, tapping the text input twice in succession will prevent any further typing until focus is completely removed from the input and then returned.

Steps to Reproduce:

1) Load the attached test case in Safari on iOS
2) Tap the text input once for it to gain focus
3) Tap the text input again while it's still focussed
4) Attempt to type text into the input using the virtual keyboard or an attached keyboard

Expected Results:

Text appears in the input as the user is typing.

Actual Results:

No text appears.


This issue is present on iOS 5.0.1, iOS 5.1, iOS 6.0 and iOS 6.1 beta 4.


The attached test case is available at:


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at 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!