diff --git a/en/react-native-largelist.md b/en/react-native-largelist.md index d1c1e02df5440e07b52d77aead838cb515e1275e..800ff8d15a664c3faffca1b5639dd0a25263afad 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 aa97048dc8baa0cee94635254557c8537956468c..1d03c46e4b8145cf5c2f007a7e757ec1c999c9da 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 |