SlackTextViewController icon indicating copy to clipboard operation
SlackTextViewController copied to clipboard

Insert Text API should always auto scroll to just inserted text

Open hipwelljo opened this issue 8 years ago • 2 comments

If you call [self.textView slk_insertTextAtCaretRange:myText]; while the caret position is at the end, there is already sufficient number of lines in the textView to exceed the max limit, it is pushed to a new line, and the textView is the first responder, it will auto scroll to the bottom to show the text that was just inserted as you would expect. But if the textView is not the first responder, it will still insert at the end, but it won't auto scroll the textView so you can't see the text you just inserted. It should always auto scroll to show the just inserted text. :)

hipwelljo avatar Apr 30 '16 17:04 hipwelljo

Agree. Will look at it. Thanks.

dzenbot avatar Apr 30 '16 17:04 dzenbot

Any news on this? =)

Preen avatar Mar 16 '17 13:03 Preen