From 5882f89804989923866584cc05ed00731ce6e355 Mon Sep 17 00:00:00 2001 From: ding_chengjie Date: Mon, 28 Apr 2025 17:50:19 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#IC4PFS]=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=AF=B9largelist=E7=BB=84=E4=BB=B6=E7=9A=84=E8=A7=A6?= =?UTF-8?q?=E7=A2=B0=E7=82=B9=E6=96=B9=E6=B3=95=E7=9A=84=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-largelist.md | 4 ++-- zh-cn/react-native-largelist.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en/react-native-largelist.md b/en/react-native-largelist.md index d1c1e02d..800ff8d1 100644 --- a/en/react-native-largelist.md +++ b/en/react-native-largelist.md @@ -163,7 +163,7 @@ Check the release version information in the release address of the third-party | initialContentOffset | 初始化偏移,仅第一次初始化有效,后期更改无效(已支持x方向) | {x:number, y:number} | no | Android/iOS | yes | | showsVerticalScrollIndicator | 显示垂直滚动指示器 | boolean | no | Android/iOS | no | | showsHorizontalScrollIndicator | 显示水平滚动指示器(内容视图超出LargeList视口才有用) | boolean | no | Android/iOS | no | -| tapToHideKeyboard | 点击LargeList是否收起键盘 | boolean | no | Android/iOS | yes | +| tapToHideKeyboard | 点击LargeList是否收起键盘 | boolean | no | Android/iOS | yes(rely on springscrollview 2.x version) | | data | 列表的数据源 | { items: any[] }[] | no | Android/iOS | yes | | heightForSection | 返回列表每一组组头高度的函数 | (section: number) => number | no | Android/iOS | yes | | renderSection | 每一组组头的render函数 | `(section: number) => React.ReactElement ` | no | Android/iOS | yes | @@ -184,7 +184,7 @@ Check the release version information in the release address of the third-party | onMomentumScrollBegin | 松手后减速开始的回调 | ()=>any | no | Android/iOS | yes | | onMomentumScrollEnd | 减速结束回调 | ()=>any | no | Android/iOS | yes | | textInputRefs | 将TextInput的引用传入,让SpringScrollView自动管理键盘遮挡问题。 | TextInput[] | no | Android/iOS | yes | -| dragToHideKeyboard | 滑动屏幕时是否隐藏键盘 | boolean | no | Android/iOS | yes | +| dragToHideKeyboard | 滑动屏幕时是否隐藏键盘 | boolean | no | Android/iOS | yes(rely on springscrollview 3.x version) | | inputToolBarHeight | 不同的系统,不同的三方输入法,键盘的工具栏高度是不确定的,并且官方没有给出获取工具栏高度的办法,这个属性用以给用户小幅调整键盘弹起时,组件偏移的位置 | number | no | Android/iOS | yes | | groupCount | 优化参数,LargeList将各行进行分组(不是Section,这个视独立的组),groupCount表示总共渲染4组,每组至少渲染groupMinHeight高度,值越大预渲染的行数越多,对应的初始化越慢。请注意groupCount * groupMinHeight必须大于LargeList的视口高度。 | number | no | Android/iOS | yes | | groupMinHeight | 优化参数,每组的高度 | number | no | Android/iOS | yes | diff --git a/zh-cn/react-native-largelist.md b/zh-cn/react-native-largelist.md index aa97048d..1d03c46e 100644 --- a/zh-cn/react-native-largelist.md +++ b/zh-cn/react-native-largelist.md @@ -164,7 +164,7 @@ ohpm install | initialContentOffset | 初始化偏移,仅第一次初始化有效,后期更改无效(已支持x方向) | {x:number, y:number} | no | Android/iOS | yes | | showsVerticalScrollIndicator | 显示垂直滚动指示器 | boolean | no | Android/iOS | no | | showsHorizontalScrollIndicator | 显示水平滚动指示器(内容视图超出LargeList视口才有用) | boolean | no | Android/iOS | no | -| tapToHideKeyboard | 点击LargeList是否收起键盘 | boolean | no | Android/iOS | yes | +| tapToHideKeyboard | 点击LargeList是否收起键盘 | boolean | no | Android/iOS | yes(依赖2.x基线的springscroll) | | data | 列表的数据源 | { items: any[] }[] | no | Android/iOS | yes | | heightForSection | 返回列表每一组组头高度的函数 | (section: number) => number | no | Android/iOS | yes | | renderSection | 每一组组头的render函数 | `(section: number) => React.ReactElement ` | no | Android/iOS | yes | @@ -185,7 +185,7 @@ ohpm install | onMomentumScrollBegin | 松手后减速开始的回调 | ()=>any | no | Android/iOS | yes | | onMomentumScrollEnd | 减速结束回调 | ()=>any | no | Android/iOS | yes | | textInputRefs | 将TextInput的引用传入,让SpringScrollView自动管理键盘遮挡问题。 | TextInput[] | no | Android/iOS | yes | -| dragToHideKeyboard | 滑动屏幕时是否隐藏键盘 | boolean | no | Android/iOS | yes | +| dragToHideKeyboard | 滑动屏幕时是否隐藏键盘 | boolean | no | Android/iOS | yes(依赖3.x基线的springscroll) | | inputToolBarHeight | 不同的系统,不同的三方输入法,键盘的工具栏高度是不确定的,并且官方没有给出获取工具栏高度的办法,这个属性用以给用户小幅调整键盘弹起时,组件偏移的位置 | number | no | Android/iOS | yes | | groupCount | 优化参数,LargeList将各行进行分组(不是Section,这个视独立的组),groupCount表示总共渲染4组,每组至少渲染groupMinHeight高度,值越大预渲染的行数越多,对应的初始化越慢。请注意groupCount * groupMinHeight必须大于LargeList的视口高度。 | number | no | Android/iOS | yes | | groupMinHeight | 优化参数,每组的高度 | number | no | Android/iOS | yes | -- Gitee