tabs
tabs copied to clipboard
make sure startIndex <= endIndex when measuring visible tabs
resolves issue: #444
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/react-component/tabs/BMMQgGTCGZTXX1EFz44mJfbA5nCx
✅ Preview: https://tabs-git-fork-rinick-patch-1-react-component.vercel.app
Codecov Report
Merging #454 (7038242) into master (3aeba5a) will decrease coverage by
0.17%
. The diff coverage is50.00%
.
@@ Coverage Diff @@
## master #454 +/- ##
==========================================
- Coverage 99.47% 99.30% -0.18%
==========================================
Files 13 13
Lines 570 572 +2
Branches 143 144 +1
==========================================
+ Hits 567 568 +1
- Misses 3 4 +1
Impacted Files | Coverage Δ | |
---|---|---|
src/hooks/useVisibleRange.ts | 97.14% <50.00%> (-2.86%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 3aeba5a...7038242. Read the comment docs.
Could you add a test case?