AlertView with textField has noticeable keyboard dismiss delay
Originator: | hoar.ian | ||
Number: | rdar://26500682 | Date Originated: | May 26 2016 |
Status: | Closed | Resolved: | |
Product: | any iOS | Product Version: | iOS 9 |
Classification: | Reproducible: | Always |
Summary: When using an alertView for text input, button actions dismiss the keyboard with a noticeable delay. Steps to Reproduce: - present alertView (ensure alertView calls `addTextFieldWithConfigurationHandler`) - Use a button action on the alertView to complete input (ie. Save in example project) Expected Results: Keyboard should dismiss immediately Actual Results: Keyboard dismisses after a 1-3 second delay (ie, on dealloc) Version: iOS 9 Notes: Using the return key on the keyboard has the expected result, only dismissing via the alert actions shows the delay. here's another illustration of someone with the same issue http://stackoverflow.com/questions/26161796/how-to-dismiss-an-uialertcontroller-and-the-keyboard-simultaneously Configuration: any iOS Attachments: 'AlertExample.zip' was successfully uploaded.
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!