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
微信小程序
小程序基础库: 2.11.3 使用框架: React
从编译输出的base.wxml来看,Image元素上不存在binglongpress。源码中亦未给Image元素添加touchEvents @tarojs/shared
Image 元素可以响应长按(longpress)事件
Image元素长按无响应
👽 Taro v3.0.2 Taro CLI 3.0.2 environment info: System: OS: macOS 10.15.5 Shell: 5.7.1 - /bin/zsh Binaries: Node: 12.18.1 - /usr/local/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.5 - /usr/local/bin/npm npmPackages: @tarojs/cli: 3.0.2 => 3.0.2 @tarojs/components: 3.0.2 => 3.0.2 @tarojs/mini-runner: 3.0.2 => 3.0.2 @tarojs/react: 3.0.2 => 3.0.2 @tarojs/router: 3.0.2 => 3.0.2 @tarojs/runtime: 3.0.2 => 3.0.2 @tarojs/taro: 3.0.2 => 3.0.2 @tarojs/taro-h5: 3.0.2 => 3.0.2 @tarojs/webpack-runner: 3.0.2 => 3.0.2 babel-preset-taro: ^3.0.2 => 3.0.2 eslint-config-taro: 3.0.2 => 3.0.2 eslint-plugin-taro: 3.0.2 => 3.0.2 react: ^16.13.1 => 16.13.1
The text was updated successfully, but these errors were encountered:
fix(shared): 组件Image支持onLongPress,#7061
5f8f029
433cd90
Successfully merging a pull request may close this issue.
相关平台
微信小程序
小程序基础库: 2.11.3
使用框架: React
复现步骤
从编译输出的base.wxml来看,Image元素上不存在binglongpress。源码中亦未给Image元素添加touchEvents @tarojs/shared
期望结果
Image 元素可以响应长按(longpress)事件
实际结果
Image元素长按无响应
环境信息
The text was updated successfully, but these errors were encountered: