[Bug] Wrong content size
Closed this issue · 5 comments
rokemoon commented
rokemoon commented
Sorry, you can reproduce this in ios 7.
mahboud commented
Typing in a single character after the paste will correct the issue. (Not a fix but maybe it will provide a clue)
proxi commented
I have seen a similar issue on iOS7. The culprit is line #415:
internalTextViewFrame.size.width = internalTextView.contentSize.width;
which is different width than one set in layoutSubviews (line #133):
r.size.width = self.bounds.size.width - contentInset.left - contentInset.right;
vamsi2r commented
Issue still exists. In iOS7 if I'm pasting text which more than the maximum height of the TextView, Its scrolling to last but one line. But it should scroll to last line.