UITextField doesn't respond to taps if resigned with an active selection

Number:rdar://37287238 Date Originated:06-Feb-2018 10:46 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.2.5
Classification:Security Reproducible:Always
When a UITextField has an active selection (e.g. select all) and then is resignFirstResponder'd, it doesn't seem to respond to taps again on places where the selection was: the textfield is not made first responder when tapped.

Steps to Reproduce:
1. Get a UITextField
2. Enter some text
3. Select all text
4. Make another field firstResponder 
5. Try to make the UITextField firstResponder again by tapping on a place that previously was in the selection

Expected Results:
 - The UITextField accepts taps and becomes first responder

Actual Results:
- The tap is ignored
- UITextField did not become first responder


Double tapping does work, since that triggers a "select word" operation


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!