致命BUG Taro 4.0.7-canary.3 版本 components-rn/useClickable.js 报错
Opened this issue · 3 comments
OrrinHatch commented
相关平台
React Native
使用框架: React
复现步骤
TypeError: event.stopPropagation is not a function (it is undefined), js engine: hermes
期望结果
尽快解决
实际结果
影响使用
环境信息
👽 Taro v4.0.4
Taro CLI 4.0.4 environment info:
System:
OS: macOS 14.5
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.14.0 - ~/.nvm/versions/node/v20.14.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v20.14.0/bin/yarn
npm: 10.7.0 - ~/.nvm/versions/node/v20.14.0/bin/npm
npmPackages:
@tarojs/cli: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/components: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/components-rn: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/helper: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/plugin-framework-react: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/plugin-html: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/plugin-platform-alipay: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/plugin-platform-h5: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/plugin-platform-jd: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/plugin-platform-qq: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/plugin-platform-swan: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/plugin-platform-tt: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/plugin-platform-weapp: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/react: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/rn-runner: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/rn-supporter: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/runtime: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/shared: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/taro: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/taro-loader: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/taro-rn: 4.0.7-canary.3 => 4.0.7-canary.3
@tarojs/webpack5-runner: 4.0.7-canary.3 => 4.0.7-canary.3
babel-preset-taro: 4.0.7-canary.3 => 4.0.7-canary.3
eslint-config-taro: 4.0.7-canary.3 => 4.0.7-canary.3
expo: 50.0.20 => 50.0.20
react: ^18.3.1 => 18.3.1
react-native: 0.73.6 => 0.73.6
OrrinHatch commented
OrrinHatch commented
换成react-native 的View组件就没有这个错误了
ShaoGongBra commented
似乎一直没有这个方法,RN 端只要写了点击事件就能阻止穿透,判断一下平台