Closed ReverseScale closed 3 years ago
我找到方法了:
1.注释 TextInput.clearClient 中对键盘的 hide 和 clear
case 'TextInput.clearClient': // hideKeyboard(animation: true); // clearKeyboard(); break;
2.注释 openKeyboard 中的拦截。
static openKeyboard() { // if (_keyboardEntry != null) return;
这貌似不是最合适的方法,我找时间再看看
我这边无法重现该问题
你好啊,非常感谢作者的代码,我在使用中遇到一个问题。
我创建了两个 TextField,当我在一个 TextField 输入完成后,切入第二个 TextField 时,键盘收回了,需要手动再次弹出,不知道有什么方法可以让键盘保持呢