ElemeFE / ElemeFE/element

[Bug Report] When tables have fixed headers and load data asynchronously, the horizontal scrollbar drags to the end and the header and body are misaligned.

Open
#17,470 8 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.12.0

### OS/Browsers version
win10;chrome77.0.3865.75

### Vue version
2.6.10

### Reproduction Link
https://codepen.io/EchoWht/pen/dybgGxB?&editable=true

### Steps to reproduce
表格固定表头且异步加载数据时,列数比较多时横向滚动条拖到最后时表头和表体错位(请勿调整codepen窗体大小,调整后错位消失)

### What is Expected?
表格固定表头且异步加载数据时,列数比较多时横向滚动条拖到最后时表头和表体自动对齐

### What is actually happening?
表格固定表头且异步加载数据时,列数比较多时横向滚动条拖到最后时表头和表体错位

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.