UITextView Doesn’t Scroll to Show Typing

Originator:brentsimmons
Number:rdar://15148548 Date Originated:10/3/2013
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 7
Classification:UI/Usability Reproducible:YES
 
Summary:

When I tap in a UITextView, the keyboard comes up. Sometimes the keyboard is in front of the insertion point.

Similarly, it's possible to type in a UITextView and have the insertion point end up behind the keyboard.

Steps to Reproduce:

Create a UITextView. Tap below where the keyboard would appear.

Or: hit return a whole bunch of times until the insertion point disappears.

See my attached project for a simple test case.

Expected Results:

The UITextView would scroll automatically so that typing is always visible.

Actual Results:

The UITextView doesn't scroll automatically.

Version:

iOS 7

Attachments:
'TVScrollingBug.zip' was successfully uploaded.

Comments

Resolved?

Has this been resolved in later updates? Having an issue in iOS8/iOS9 which has similar behaviour to this bug;

  • A UITextView gets its content insets resized on keyboard showing
  • Every OTHER keystroke scrolls the text down and out of view under the keyboard
  • The next keystroke scrolls the text back up where it should be

Duped

rdar://15769979


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!