taro
taro copied to clipboard
custom-wrapper createIntersectionObserver 在支付宝小程序中表现不一致
相关平台
支付宝小程序
小程序基础库: 最新 使用框架: Vue 3
复现步骤
在微信小程序中 custom-wrapper 中使用 createIntersectionObserver 需要传递当前实例 在支付宝中传入实例只会响应一次 如果不传则正常监听 但是不传在微信小程序中又无法使用
期望结果
表现一直
实际结果
不一致
环境信息
Taro CLI 3.6.32 environment info:
System:
OS: macOS 14.6.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.17.0 - ~/.local/state/fnm_multishells/11251_1726307802287/bin/node
npm: 10.8.2 - ~/.local/state/fnm_multishells/11251_1726307802287/bin/npm
npmPackages:
@tarojs/cli: 3.6.32 => 3.6.32
@tarojs/components: 3.6.32 => 3.6.32
@tarojs/helper: 3.6.32 => 3.6.32
@tarojs/plugin-framework-vue3: 3.6.32 => 3.6.32
@tarojs/plugin-html: ^3.6.32 => 3.6.32
@tarojs/plugin-platform-alipay: 3.6.32 => 3.6.32
@tarojs/plugin-platform-h5: 3.6.32 => 3.6.32
@tarojs/plugin-platform-jd: 3.6.32 => 3.6.32
@tarojs/plugin-platform-qq: 3.6.32 => 3.6.32
@tarojs/plugin-platform-swan: 3.6.32 => 3.6.32
@tarojs/plugin-platform-tt: 3.6.32 => 3.6.32
@tarojs/plugin-platform-weapp: 3.6.32 => 3.6.32
@tarojs/runtime: 3.6.32 => 3.6.32
@tarojs/shared: 3.6.32 => 3.6.32
@tarojs/taro: 3.6.32 => 3.6.32
@tarojs/taro-loader: 3.6.32 => 3.6.32
@tarojs/webpack5-runner: 3.6.32 => 3.6.32
babel-preset-taro: 3.6.32 => 3.6.32
eslint-config-taro: 3.6.32 => 3.6.32