Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤔 这个 PR 的性质是?
💡 需求背景和解决方案
#3655
t-foot
位于table
的底部而并非容器底部,随着新元素渲染,会随着滚动离开外部容器底部,采用类似 header 的处理,强制渲染 affixFooter,并隐藏table
中的t-foot
,保留元素用于计算高度translateY
时,只计算了内容高度,需要加上 footer 和 header,使得尾部的行可以正确滚动至可视区域this.isVirtual
的引用,看起来是错误的代码,修正并使用this.virtualConfig.isVirtualScroll.value
替代测试及问题复现用例
https://stackblitz.com/edit/ls47cs?file=package.json,src%2Fdemo.vue
📝 更新日志
☑️ 请求合并前的自查清单