From 2af9bad76da032c6d2c7de2c7e1b1c5f68576e61 Mon Sep 17 00:00:00 2001 From: hrc Date: Thu, 12 Mar 2026 15:00:15 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#IFVCRI]=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9react-native-largelist=E4=B8=89=E6=96=B9=E5=BA=93?= =?UTF-8?q?=E4=B8=AD=E8=8B=B1=E6=96=87=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hrc --- 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 b04d5980f..a70c78295 100644 --- a/en/react-native-largelist.md +++ b/en/react-native-largelist.md @@ -165,7 +165,7 @@ This document is verified based on the following versions: | initialContentOffset | Initial offset, only valid on first initialization, later changes are invalid (x direction is supported) | {x:number, y:number} | no | Android/iOS | yes | | showsVerticalScrollIndicator | Show vertical scroll indicator | boolean | no | Android/iOS | no | | showsHorizontalScrollIndicator | Show horizontal scroll indicator (only useful when content view exceeds LargeList viewport) | boolean | no | Android/iOS | no | -| tapToHideKeyboard | Whether to hide the keyboard when tapping LargeList | boolean | no | Android/iOS | no(deprecated from react-native-spring-scrollview 3.x version ) | +| tapToHideKeyboard | Whether to hide the keyboard when tapping LargeList | boolean | no | Android/iOS | no | | data | Data source for the list | { items: any[] }[] | no | Android/iOS | yes | | heightForSection | Function that returns the height of each section header | (section: number) => number | no | Android/iOS | yes | | renderSection | Render function for each section header | `(section: number) => React.ReactElement ` | no | Android/iOS | yes | @@ -186,7 +186,7 @@ This document is verified based on the following versions: | onMomentumScrollBegin | Callback when deceleration starts after releasing | ()=>any | no | Android/iOS | yes | | onMomentumScrollEnd | Callback when deceleration ends | ()=>any | no | Android/iOS | yes | | textInputRefs | Pass TextInput references to let SpringScrollView automatically manage keyboard blocking issues. | TextInput[] | no | Android/iOS | yes | -| dragToHideKeyboard | Whether to hide the keyboard when dragging the screen | boolean | no | Android/iOS | yes(rely on react-native-spring-scrollview 3.x version) | +| dragToHideKeyboard | Whether to hide the keyboard when dragging the screen | boolean | no | Android/iOS | yes | | inputToolBarHeight | On different systems and different third-party input methods, the keyboard toolbar height is uncertain, and there is no official way to get the toolbar height. This property is used to allow users to slightly adjust the component offset position when the keyboard pops up | number | no | Android/iOS | yes | | groupCount | Optimization parameter. LargeList groups rows (not sections, independent groups). groupCount indicates rendering 4 groups total, each group renders at least groupMinHeight height. Larger values mean more pre-rendered rows, slower initialization. Note: groupCount * groupMinHeight must be greater than LargeList viewport height. | number | no | Android/iOS | yes | | groupMinHeight | Optimization parameter, height of each group | number | no | Android/iOS | yes | diff --git a/zh-cn/react-native-largelist.md b/zh-cn/react-native-largelist.md index ccfda09d5..e8be1eb54 100644 --- a/zh-cn/react-native-largelist.md +++ b/zh-cn/react-native-largelist.md @@ -163,7 +163,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 | no(3.x基线的react-native-spring-scrollview该属性已废弃) | +| tapToHideKeyboard | 点击LargeList是否收起键盘 | boolean | no | Android/iOS | no | | 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 @@ 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(依赖3.x基线的react-native-spring-scrollview) | +| dragToHideKeyboard | 滑动屏幕时是否隐藏键盘 | boolean | no | Android/iOS | yes | | 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