table
table copied to clipboard
fix: overflowY = 'auto' when set scroll.y
Currently, if we set the value of scroll.y but the height of all items in the table does not exceed scroll.y, There is still an empty scroll bar
I think it would be better if we set the overflowY is auto, the result after the change.

The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| table | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 7, 2023 2:36pm |
Codecov Report
Merging #973 (87a476c) into master (5fb8f12) will decrease coverage by
0.03%. The diff coverage isn/a.
:exclamation: Current head 87a476c differs from pull request most recent head a146e9b. Consider uploading reports for the commit a146e9b to get more accurate results
@@ Coverage Diff @@
## master #973 +/- ##
==========================================
- Coverage 99.52% 99.49% -0.03%
==========================================
Files 40 36 -4
Lines 3563 989 -2574
Branches 476 320 -156
==========================================
- Hits 3546 984 -2562
+ Misses 17 5 -12
| Files Changed | Coverage Δ | |
|---|---|---|
| src/Table.tsx | 99.06% <ø> (-0.70%) |
:arrow_down: |
... and 40 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more