Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Changelog

## 鸿蒙化Log

### v0.15.0-rc.2

- pre-release:@react-native-ohos/react-native-nested-scroll@0.15.0-rc.2([6d229e1](https://github.com/react-native-oh-library/react-native-nested-scroll/pull/31))
- fix: fix:修复bounces属性的热更新不生效、修改onscroll事件返回的对象 ([5a925c6](https://github.com/react-native-oh-library/react-native-nested-scroll/pull/28))

13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,17 @@ export default NestedScrollFlatList

> [!TIP] "如果“HarmonyOS 支持”列的值为“yes”,则表示 HarmonyOS 平台支持该属性;“no”则表示不支持;“partially”表示部分支持该属性的功能。该属性在不同平台上的使用方法相同,效果与 iOS 或 Android 平台一致。

### NestedScrollView
| Name | Description | Type | Required | Platform | HarmonyOS Support |
| ----------- | ------------------------------------------------- | ------ | -------- | -------- | ----------------- |
| stickyHeight| The area of the header height will be pinned to the top | number | NO | All | yes |
| stickyHeaderBeginIndex | It means that starting with the first few subcomponents, the subassemblies will be pinned to the top | number | NO | All | yes |
| bounce | Elastic effect | boolean | NO | All | yes |
| onScroll |component callbacks | number | NO | All | yes |
| bounces | 弹性效果 | boolean | NO | All | yes |

### NestedScrollViewHeader
| Name | Description | Type | Required | Platform | HarmonyOS Support |
| ----------- | ------------------------------------------------- | ------ | -------- | -------- | ----------------- |
| stickyHeight| 标题高度的区域会固定在顶部 | number | NO | All | yes |
| stickyHeaderBeginIndex | 这意味着从前几个子组件开始,子组件将固定在顶部 | number | NO | All | yes |
| onScroll |组件回调 | function | NO | All | yes |

## 遗留问题
Expand Down
17 changes: 11 additions & 6 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,17 @@ export default NestedScrollFlatList
> [!TIP]
> If the value in the "HarmonyOS Support" column is "yes," it means the prop is supported on the HarmonyOS platform; "no" means it is not supported; "partially" means that some of its features are supported. The usage of this prop is the same on different platforms, and its effect is consistent with that on iOS or Android.

| Name | Description | Type | Required | Platform | HarmonyOS Support |
| ---------------------- | ------------------------------------------------------------------------------------------------- | ------- | -------- | -------- | ----------------- |
| stickyHeight | The area of the header height will be pinned to the top. | number | NO | All | yes |
| stickyHeaderBeginIndex | It means that starting with the first few subcomponents, the subassemblies will be pinned to the top. | number | NO | All | yes |
| bounce | Elastic effect. | boolean | NO | All | yes |
| onScroll | Component callbacks. | number | NO | All | yes |
### NestedScrollView
| Name | Description | Type | Required | Platform | HarmonyOS Support |
| ----------- | ------------------------------------------------- | ------ | -------- | -------- | ----------------- |
| bounces | Elastic effect | boolean | NO | All | yes |

### NestedScrollViewHeader
| Name | Description | Type | Required | Platform | HarmonyOS Support |
| ----------- | ------------------------------------------------- | ------ | -------- | -------- | ----------------- |
| stickyHeight| The area of the header height will be pinned to the top | number | NO | All | yes |
| stickyHeaderBeginIndex | It means that starting with the first few subcomponents, the subassemblies will be pinned to the top | number | NO | All | yes |
| onScroll |component callbacks | function | NO | All | yes |

## Known Issues

Expand Down