Entering a space after selecting predictive suggestion mid-sentence is removed

Originator:sarambasich
Number:rdar://31279736 Date Originated:27-Mar-2017 03:26 PM
Status:Open Resolved:
Product:iPhone 7 Plus, iPhone 7 Simulator Product Version:10.2.1
Classification:UI/Usability Reproducible:Always
 
When using predictive text (auto complete) to type on the standard iOS keyboard, a typed space is removed or ignored when typed mid-sentence after selecting a predictive suggestion word.

For example, I typed the phrase "I think I'm going to be a good night" entirely using the predictive word bar. Then, I set my cursor to the exact start index of the word "going". I selected the predictive word "just" and then attempted to use the keyboard to type a space. However, that space I typed is consumed or ignored immediately afterwards. Therefore it seems that the first space typed after a selected predictive word is removed by the OS.

It seems I can type spaces after that first space is consumed, but at this point, corresponding application logic can be thrown off sync by the content displayed in the text field or view.

See attached video for clarification.

Steps to Reproduce: List the step by step process to reproduce the issue
1. Type some words entirely using predictive text
2. Move cursor to a start index of one of the words mid-sentence
3. Select another predictive text suggestion
4. Type a space

Expected Results: Describe what you expected to see
Two spaces will appear after the selected predictive word. One that is automatically placed there by virtue of the predictive words selection feature and one that I typed myself.

Actual Results: Describe what you actually saw
The OS consumes the manually typed space.

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!