We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
百度小程序
小程序基础库: 3.190.255-rc 使用框架: React
Input 获取焦点 输入一个字符后报错并失去焦点
{ "dependencies": { "@babel/runtime": "^7.7.7", "@tarojs/components": "3.0.8", "@tarojs/react": "3.0.8", "@tarojs/runtime": "3.0.8", "@tarojs/taro": "3.0.8", "mobx": "^4.8.0", "mobx-react": "^6.1.4", "react": "^16.10.0", "react-dom": "^16.10.0", "taro-ui": "^3.0.0-alpha.3" }, "devDependencies": { "@types/webpack-env": "^1.13.6", "@types/react": "^16.0.0", "@tarojs/mini-runner": "3.0.8", "@babel/core": "^7.8.0", "@tarojs/webpack-runner": "3.0.8", "babel-preset-taro": "3.0.8", "eslint-config-taro": "3.0.8", "eslint": "^6.8.0", "eslint-plugin-react": "^7.8.2", "eslint-plugin-import": "^2.12.0", "eslint-plugin-react-hooks": "^1.6.1", "stylelint": "9.3.0" } }
onInput 事件行为正常
onInput 事件 报错 Cannot read property 'isSameLayer' of null 并失去焦点
Taro CLI 3.0.8 environment info: System: OS: Windows 10 Binaries: Node: 12.18.2 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.4 - C:\Users\Aming\AppData\Roaming\npm\yarn.CMD npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
函数式组件 + mobx , 组件内使用 useLocalStore 做状态管理 ,
微信小程序正常
The text was updated successfully, but these errors were encountered:
Duplicate of #7293
Sorry, something went wrong.
No branches or pull requests
相关平台
百度小程序
小程序基础库: 3.190.255-rc
使用框架: React
复现步骤
Input 获取焦点 输入一个字符后报错并失去焦点
期望结果
onInput 事件行为正常
实际结果
onInput 事件 报错 Cannot read property 'isSameLayer' of null 并失去焦点
环境信息
补充信息
函数式组件 + mobx , 组件内使用 useLocalStore 做状态管理 ,
微信小程序正常
The text was updated successfully, but these errors were encountered: