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 的高度。
2条答案
按热度按时间qybjjes11#
Translation of this issue:
Element UI version
2.15.1
OS/Browsers version
MacOS Catalina 10.15.5 (19f101) / Chrome version 89.0.4389.114 (official version) (x86)_ 64)
Vue version
2.6.12
Reproduction Link
https://jsfiddle.net/oebgn301/23/
Steps to reproduce
Click the Add Row button and go to line 6. It is obvious that it has exceeded the height. Scrolling should be added, but not until line 7.
What is Expected?
When added to line 6, the table scrolls.
What is actually happening?
When added to line 6, the table does not add scrolling until line 7.
The reason for the problem is probably that the height of the append slot is not considered in the logic to determine whether to add scrolling.
rseugnpd2#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.