table icon indicating copy to clipboard operation
table copied to clipboard

fix: table forceScroll setTimeout issue

Open z2015 opened this issue 9 months ago • 2 comments

f修复 forceScroll 方法中当 setTimeout 调用不是最后一次时机时,有可能会出现最后一次的 target.scrollLeft 赋值操作被后续setTimeout中的 target.scrollLeft 赋值给覆盖,由此一来造成表头和表体错位的问题。

Summary by CodeRabbit

  • Bug Fixes
    • 修复了快速多次调用滚动时可能导致滚动位置重复重置的问题,提高了滚动行为的稳定性。

z2015 avatar Apr 19 '25 06:04 z2015