easy3wui 1.5.46-beta6 → 1.5.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -57,6 +57,8 @@ var Easy3wGridTextArea = function (_Component) {
|
|
|
57
57
|
var textarea = document.getElementById(fieldId);
|
|
58
58
|
if (textarea) {
|
|
59
59
|
var scrollHeight = textarea.scrollHeight;
|
|
60
|
+
// scrollHeight属性表示元素内容的总高度,包括那些在视口中不可见的部分
|
|
61
|
+
// 2 边框
|
|
60
62
|
|
|
61
63
|
var scrollHeightNew = scrollHeight + 2;
|
|
62
64
|
// 监听输入事件
|