Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update virtual-list.mdx #291

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion versioned_docs/version-3.x/virtual-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ export default class Index extends Component {
- `smart`: 条目如果已经在可视区域,就不滚动;如果有部分在可视区域,尽可能滚动距离最小保证条目在可视区域中;如果条目完全不在可视区域,那就滚动到条目在可视区域居中显示
- `center`: 让条目在可视区域居中显示
- `end`: 让条目在可视区域末尾显示
- `start`: 让条目在可视区域末尾显示
- `start`: 让条目在可视区域顶部显示

> enhanced 默认为 props 传入的 enhanced 值。

Expand Down