[Bug Report] table空数据 但是有scrollX且有fixed fixed-right区域会覆盖滚动条
Open
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Element UI version
2.15.10
### OS/Browsers version
All
### Vue version
2.7.14
### Reproduction Link
https://codepen.io/ziyoung/pen/LKNBqB
### Steps to reproduce
1.为el-table设置fixed属性,且列足够多,直至出现滚动条;
2.设置data属性为[];
3.滚动到最右侧,放开滚动条;
4.fixed区域下的滚动条无法选中;
bug原因: noData时直接设置为0,没有减去滚动区域; table-layout.js 115行: this.viewportHeight = this.scrollX ? tableHeight - (noData ? 0 : this.gutterWidth) : tableHeight;
### What is Expected?
table空数据fixed区域可正常滚动
### What is actually happening?
table空数据fixed区域不可滚动
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.