Skip to content

Conversation

@CoderMonkie
Copy link

In pull-refresh component

I add a max-pull-distance prop to enable cancellation of pull refresh.

If not passed this prop, the behavior will keep the same as before.

@codecov-commenter
Copy link

codecov-commenter commented May 20, 2025

Codecov Report

Attention: Patch coverage is 26.66667% with 11 lines in your changes missing coverage. Please review.

Project coverage is 89.62%. Comparing base (ec5b45b) to head (961be08).
Report is 97 commits behind head on main.

Files with missing lines Patch % Lines
packages/vant/src/pull-refresh/PullRefresh.tsx 26.66% 8 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13484      +/-   ##
==========================================
+ Coverage   89.60%   89.62%   +0.02%     
==========================================
  Files         257      257              
  Lines        7013     7046      +33     
  Branches     1736     1747      +11     
==========================================
+ Hits         6284     6315      +31     
- Misses        384      385       +1     
- Partials      345      346       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
@CoderMonkie CoderMonkie force-pushed the feat/pull-refresh-cancel branch from 9b1d095 to 961be08 Compare May 21, 2025 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants