Skip to content

Commit f20bf8f

Browse files
authored
Fix TextArea.auto_grow (#489)
1 parent 072c387 commit f20bf8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/panel_material_ui/widgets/TextArea.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function render({model, el}) {
6262
},
6363
"& .MuiInputBase-inputMultiline": {
6464
resize: effectiveResize,
65-
height: (resizeMode === "vertical" || resizeMode === "both") ? "unset" : "100% !important",
65+
height: (resizeMode === "vertical" || resizeMode === "both" || autogrow) ? "unset" : "100% !important",
6666
overflow: "auto"
6767
}
6868
}

0 commit comments

Comments
 (0)