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.0.15 使用框架: React
使用AtSearchBar 或Input 组件,onFocus 会触发两次,导致键盘弹起两次
<AtSearchBar focus={this.state.focus}
onFocus={() => { console.log("search onFocus") }} />
弹起一次键盘
弹起两次键盘
👽 Taro v3.0.15 Taro CLI 3.0.15 environment info: System: OS: macOS 10.15.5 Shell: 3.2.57 - /bin/bash Binaries: Node: 12.19.0 - /usr/local/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 6.14.8 - /usr/local/bin/npm npmPackages: @tarojs/components: 3.0.18 => 3.0.18 @tarojs/mini-runner: 3.0.11 => 3.0.11 @tarojs/react: 3.0.18 => 3.0.18 @tarojs/runtime: 3.0.18 => 3.0.18 @tarojs/taro: 3.0.18 => 3.0.18 @tarojs/webpack-runner: 3.0.11 => 3.0.11 babel-preset-taro: 3.0.11 => 3.0.11 eslint-config-taro: 3.0.11 => 3.0.11 react: ^16.10.0 => 16.14.0 taro-ui: ^3.0.0-alpha.3 => 3.0.0-alpha.3
与机型有关,我的机型是华为 P30 pro ,测试了iPhone是不会弹起两次的
The text was updated successfully, but these errors were encountered:
No branches or pull requests
相关平台
字节跳动小程序
小程序基础库: 3.0.15
使用框架: React
复现步骤
使用AtSearchBar 或Input 组件,onFocus 会触发两次,导致键盘弹起两次
<AtSearchBar
focus={this.state.focus}
期望结果
弹起一次键盘
实际结果
弹起两次键盘
环境信息
补充信息
与机型有关,我的机型是华为 P30 pro ,测试了iPhone是不会弹起两次的
The text was updated successfully, but these errors were encountered: