Closed linxianxi closed 8 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
virtual-list | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 1, 2024 9:19am |
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
2d4aef8
) 98.24% compared to head (909e8c1
) 98.23%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
1、使滚动条的长度与真实的滚动条长度差不多,原来的计算方式不对
这里滚动体宽度太短了,与非 virtual 模式下差距太大
2、scrollWidth > size.width 时才显示 horizontal 滚动条,所以内部 canScroll 没用了