-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
相关平台
所有平台
小程序基础库版本
3.8.3
使用框架
React
问题描述
当设置了renderBottom/renderTop属性时,onScrollToLower/onScrollToUpper事件无法被触发
复现链接
暂无
复现步骤
import { VirtualWaterfall } from '@tarojs/components-advanced';
<VirtualWaterfall
onScrollToUpper={console.log('onScrollToUpper')}
onScrollToLower={console.log('onScrollToLower')}
renderTop={() => <View>测试</View>}
renderBottom={() => <View>测试</View>}
// ......其他属性
/>;无法触发onScrollToUpper和onScrollToLower
环境信息
Taro CLI 4.0.12 environment info:
System:
OS: Windows 11 10.0.26100
Binaries:
Node: 22.11.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - ~\AppData\Local\pnpm\yarn.CMD
npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD
npmPackages:
@tarojs/cli: 4.0.12 => 4.0.12
@tarojs/components: 4.0.12 => 4.0.12
@tarojs/components-advanced: ^3.6.37 => 3.6.37
@tarojs/helper: 4.0.12 => 4.0.12
@tarojs/plugin-framework-react: 4.0.12 => 4.0.12
@tarojs/plugin-http: ^3.6.37 => 3.6.37
@tarojs/plugin-platform-alipay: 4.0.12 => 4.0.12
@tarojs/plugin-platform-h5: 4.0.12 => 4.0.12
@tarojs/plugin-platform-harmony-hybrid: 4.0.12 => 4.0.12
@tarojs/plugin-platform-jd: 4.0.12 => 4.0.12
@tarojs/plugin-platform-qq: 4.0.12 => 4.0.12
@tarojs/plugin-platform-swan: 4.0.12 => 4.0.12
@tarojs/plugin-platform-tt: 4.0.12 => 4.0.12
@tarojs/plugin-platform-weapp: 4.0.12 => 4.0.12
@tarojs/react: 4.0.12 => 4.0.12
@tarojs/runtime: 4.0.12 => 4.0.12
@tarojs/shared: 4.0.12 => 4.0.12
@tarojs/taro: 4.0.12 => 4.0.12
@tarojs/taro-loader: 4.0.12 => 4.0.12
@tarojs/webpack5-runner: 4.0.12 => 4.0.12
babel-preset-taro: 4.0.12 => 4.0.12
eslint-config-taro: 4.0.12 => 4.0.12
react: ^18.0.0 => 18.3.1Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working