CustomizeKeyboard icon indicating copy to clipboard operation
CustomizeKeyboard copied to clipboard

maxLength属性引起的崩溃问题

Open SuperChandler opened this issue 4 years ago • 1 comments

当EditText增加了maxLength属性时,当EditText输入达到maxLength值时,切换到标点,再输入一个标点就会崩溃。

KebboardUtil中的内部类OnKeyboardActionListener的onText方法,需要增加判断ed.getText()的长度是否大于maxLength的长度。

SuperChandler avatar May 22 '21 08:05 SuperChandler

感谢反馈

StomHong avatar May 25 '21 02:05 StomHong