lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
246 stars 17 forks source link

25824543: External Keyboard Text Navigation Broken: Tap & Down Arrow #14557

Open openradar-mirror opened 8 years ago

openradar-mirror commented 8 years ago

Description

Summary: Using an external keyboard, the key command ↓ (down arrow) does not work correctly in certain situations, jumps to unexpected locations.

Steps to Reproduce:

Expected Results: Tapping ↓ (down arrow) should move the insertion point down to a character below the insertion point.

Actual Results: Tapping ↓ (down arrow) moves the insertion point to the beginning of the second-next line below!

Version: iOS 9.3.1

Notes: It seems as if the UITextInputTokenizer is not correctly respecting the selection affinity of the cursor placed in this way. The insertion point at the end of a wrapped line is ambiguous, since the respective character index also exists on the beginning of the next line. It seems the position is computed from that other position instead, which is incorrect.

Also:

Configuration: Any iOS device

Attachments: 'textedit v2.zip' was successfully uploaded. http://cl.ly/fk4d

Product Version: 9.3.1 Created: 2016-04-20T07:52:23.010810 Originated: 2020-04-16T00:00:00 Open Radar Link: http://www.openradar.me/25824543

openradar-mirror commented 8 years ago

Modified: 2016-04-20T07:52:23.011060

openradar-mirror commented 8 years ago

Modified: 2016-04-20T07:52:23.011060