-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
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
v4.0.4 Input组件通过改变focus来获得焦点会报flushSync渲染错误 #16262
Comments
taro-bot2
bot
added
F-react
Framework - React
T-h5
Target - 编译到 H5
V-3
Version - 3.x
labels
Aug 6, 2024
focus也不受控,在h5模式下, 想主动失去焦点都没办法, blur()方法也没用。 |
This was referenced Aug 10, 2024
This was referenced Aug 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
H5
复现仓库
https://github.com/Rambos/taro-input-demo.git
浏览器版本: Chrome
使用框架: React
复现步骤
期望结果
表现正常
实际结果
console.js:288 Warning: flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.
at taro-input-core
at ReactComponent (
环境信息
The text was updated successfully, but these errors were encountered: