Skip to content

Commit

Permalink
Fix list error (#636)
Browse files Browse the repository at this point in the history
* fix: list error state correct

* chore: update ver

* chore: update ci

* chore: update ci
  • Loading branch information
3lang3 authored Apr 20, 2023
1 parent c5535e0 commit d3a5269
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Run Npm Scripts
run: |
node -v
npm install pnpm -g
npm install pnpm@^7 -g
pnpm -v
pnpm i
yarn docs:build
Expand Down
2 changes: 1 addition & 1 deletion packages/react-vant/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-vant",
"version": "3.2.4",
"version": "3.2.5",
"description": "React Mobile UI Components base on Vant UI",
"keywords": [
"ui",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-vant/src/components/list/LoadMore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const LoadMore = React.forwardRef<LoadMoreInstance, LoadMoreProps>(
const { run: check } = useThrottleFn(
async () => {
if (nextFlagRef.current !== flag) return
if (props.finished) return
if (props.finished || failed) return
const element = elementRef.current
if (!element) return
if (!element.offsetParent) return
Expand Down

0 comments on commit d3a5269

Please sign in to comment.