Skip to content

Commit

Permalink
fix: NervJS#268
Browse files Browse the repository at this point in the history
  • Loading branch information
xxhls committed Jul 8, 2024
1 parent b298e53 commit 0fd74d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions docs/components/viewContainer/scroll-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ typeof ScrollViewProps
| refresherBackground | `string` | `'#FFF'` || 设置自定义下拉刷新区域背景颜色 |
| refresherTriggered | `boolean` | `false` || 设置当前下拉刷新状态,true 表示下拉刷新已经被触发,false 表示下拉刷新未被触发 |
| enhanced | `boolean` | `false` || 启用 scroll-view 增强特性 |
| usingSticky | `boolean` | `false` || 使 scroll-view 下的 position sticky 特性生效,否则滚动一屏后 sticky 元素会被隐藏 |
| bounces | `boolean` | `true` || iOS 下 scroll-view 边界弹性控制 (同时开启 enhanced 属性后生效) |
| showScrollbar | `boolean` | `true` || 滚动条显隐控制 (同时开启 enhanced 属性后生效) |
| pagingEnabled | `boolean` | `false` || 分页滑动效果 (同时开启 enhanced 属性后生效) |
Expand Down Expand Up @@ -263,7 +262,6 @@ typeof ScrollViewProps
| ScrollViewProps.refresherBackground | ✔️ | | | | | | | | | |
| ScrollViewProps.refresherTriggered | ✔️ | | | | | | | | | |
| ScrollViewProps.enhanced | ✔️ | ✔️ | | | | | | | | |
| ScrollViewProps.usingSticky | ✔️ | | | | | | | | | |
| ScrollViewProps.bounces | ✔️ | ✔️ | | | | | | | | |
| ScrollViewProps.showScrollbar | ✔️ | | | | | | | | | |
| ScrollViewProps.pagingEnabled | ✔️ | | | | | | | | | |
Expand Down
5 changes: 0 additions & 5 deletions packages/taro-components/types/ScrollView.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ interface ScrollViewProps extends StandardProps {
* @default false
*/
enhanced?: boolean
/** 使 scroll-view 下的 position sticky 特性生效,否则滚动一屏后 sticky 元素会被隐藏
* @supported weapp
* @default false
*/
usingSticky?: boolean
/** iOS 下 scroll-view 边界弹性控制 (同时开启 enhanced 属性后生效)
* @supported weapp, swan
* @default true
Expand Down

0 comments on commit 0fd74d0

Please sign in to comment.