Chromatism icon indicating copy to clipboard operation
Chromatism copied to clipboard

When Keyboard Is Dismissed, the text view scrolls

Open ndrewh opened this issue 12 years ago • 5 comments

When you dismiss the keyboard after editing the text inside a JLTextView, the view scrolls in a unwanted way.

ndrewh avatar Oct 02 '13 01:10 ndrewh

I think it happens because keyboard doesn't resize JLTextView.

zyavrik avatar Oct 02 '13 14:10 zyavrik

Yes, this is an very irritating problem. Will look in to it.

Anviking avatar Oct 03 '13 21:10 Anviking

I think this was fixed with https://github.com/Anviking/Chromatism/commit/3884284475f97c8d8463ec96d9e47abc6c5cb56b

ndrewh avatar Oct 04 '13 21:10 ndrewh

Actually, it is only fixed when the scroll view is at the top the text.

ndrewh avatar Oct 05 '13 02:10 ndrewh

@Anviking Just realized that I am using JLTextView by itself, without JLTextViewController. Is this a problem?

Should I implement the methods below #pragma mark - Content Insets and Keyboard in my view controller?

ndrewh avatar Oct 05 '13 19:10 ndrewh