You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
The textView scrolls to the wrong offset when reaching the end of texts with newlines. The problem appears to be carectRectForPosition:, which reports the wrong rect for the end of document. See log and animated gif below.
Steps to reproduce:
Use text: @"1\n2\n3\n4\n5\n6\n7\n8\n9\n10"
Run example.
Position cursor at the end. Type Intro. This will already cause a quick glitch.
The textView scrolls to the wrong offset when reaching the end of texts with newlines. The problem appears to be
carectRectForPosition:, which reports the wrong rect for the end of document. See log and animated gif below.Steps to reproduce:
Log: