问题描述
有什么办法可以解决每次敲键盘都会关闭的问题.. 每次按下键盘上的按钮时,它都会关闭,并且不清楚原因。 我很乐意帮助解决这个问题。
这是功能
'Open'
这是文本输入
const onChangeInput = (index,value) => {
if (isNumeric(value)) {
const newMeasurements = [...inputMeasurement];
newMeasurements[index] = value;
setInputMeasurement(newMeasurements);
updateInputText(UPDATE_TYPE.MEASUREMENT,newMeasurements);
} else {
console.log(index,'onChangeInput is NOT a valid decimal:',value);
Toast.show({ text1: 'NUMBERS ONLY' });
return;
}
};
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)