We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e26184 commit 2a2af61Copy full SHA for 2a2af61
src/scripts/dom.js
@@ -923,11 +923,9 @@ window.CustomElements.AutoScrollHeightFeature = function()
923
if (!this.value)
924
{
925
this.style.height = "auto";
926
- this.rows = 1;
927
}
928
else
929
930
- this.rows = 0;
931
this.style.height = "0";
932
this.style.height = this.scrollHeight + delta + "px";
933
@@ -946,6 +944,7 @@ window.CustomElements.AutoScrollHeightFeature = function()
946
944
947
945
(this._inits || (this._inits = [])).push(function(ele)
948
+ ele.setAttribute("rows", "1");
949
var delta = this._get_delta(ele);
950
var adjust_height = this._adjust_height.bind(ele, delta);
951
adjust_height();
0 commit comments