react-component / virtual-list

🧾 React Virtual List Component which worked with animation
https://rc-virtual-list.react-component.now.sh
MIT License
725 stars 154 forks source link

fix: onVirtualScroll should be triggered when scrollWidth changed #265

Closed linxianxi closed 5 months ago

linxianxi commented 6 months ago

scrollWidth 发生改变,onVirtualScroll 应该触发,这样能得到最新的正确的偏移值

vercel[bot] commented 6 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 Apr 28, 2024 2:45am
codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.39%. Comparing base (34ec0e7) to head (78b8cf2). Report is 2 commits behind head on master.

:exclamation: Current head 78b8cf2 differs from pull request most recent head ae0be6c. Consider uploading reports for the commit ae0be6c to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #265 +/- ## ========================================== + Coverage 98.24% 98.39% +0.15% ========================================== Files 18 18 Lines 684 686 +2 Branches 163 163 ========================================== + Hits 672 675 +3 + Misses 12 11 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.