ElemeFE / ElemeFE/element

[Bug Report] Fixed Height Table ignored #append slot height

Open
#20,917 2 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.15.1

### OS/Browsers version
macOS Catalina 10.15.5 (19F101) / Chrome版本 89.0.4389.114(正式版本) (x86_64)

### Vue version
2.6.12

### Reproduction Link
https://jsfiddle.net/oebgn301/23/

### Steps to reproduce
点击 add row 按钮,到 第 6 行,明显已经超出 height 了,应该加上滚动,但没有,直到第 7 行才加上了滚动。

### What is Expected?
加到第 6 行的时候,表格增加滚动。

### What is actually happening?
加到第 6 行的时候,表格没有增加滚动,直到第 7 行才增加了滚动。
问题原因大概是判断是否增加滚动的逻辑里没有考虑到 append slot 的高度。

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.