Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1822 +/- ##
==========================================
- Coverage 89.95% 89.92% -0.03%
==========================================
Files 98 100 +2
Lines 5863 5907 +44
Branches 942 949 +7
==========================================
+ Hits 5274 5312 +38
- Misses 584 589 +5
- Partials 5 6 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| } | ||
|
|
||
| const refreshControl = element.props.refreshControl; | ||
| if (refreshControl == null || typeof refreshControl.props.onRefresh !== 'function') { |
There was a problem hiding this comment.
Bug: Refresh Control Access Error & Misleading Documentation
Accessing refreshControl.props.onRefresh can lead to a TypeError if refreshControl.props is null or undefined. Separately, the error message for pullToRefresh() is misleading, stating it only works with ScrollView elements when FlatList and SectionList are also supported.
Summary
Test plan