LLWeChat icon indicating copy to clipboard operation
LLWeChat copied to clipboard

聊天的时候,如果快速输入,光标移动的有点慢

Open flyweights opened this issue 7 years ago • 3 comments

flyweights avatar Mar 04 '17 08:03 flyweights

在LLChatInputView中 - (void)textViewDidChange:(UITextView *)textView 中uiview动画导致大量文字输入或者删除时候动画太慢,带来的显示问题

flyweights avatar Mar 08 '17 10:03 flyweights

同样的问题。请问有解决方法不?

klausxie avatar May 04 '17 09:05 klausxie

解决,关键在于DEFAULT_DURATION, 这个值在代码中是0.25。 就是说明光标的动画过程持续0.25秒。

只要将该值改成0,就可以正常显示了。

klausxie avatar May 04 '17 10:05 klausxie