aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-06-15 11:30:27 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commitdda22de10cee8283998073c64dd54de948d22ed2 (patch)
treead12f5bbd11123fd2438d6e8953534ec2caa18a1 /vnext/src/ui
parentd8e4a1093f91c3715457232b93f7fb30dabff65c (diff)
MessageInput: autosize on mount
Diffstat (limited to 'vnext/src/ui')
-rw-r--r--vnext/src/ui/MessageInput.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/vnext/src/ui/MessageInput.js b/vnext/src/ui/MessageInput.js
index 17c98c2a..a746ba08 100644
--- a/vnext/src/ui/MessageInput.js
+++ b/vnext/src/ui/MessageInput.js
@@ -21,6 +21,7 @@ export default function MessageInput({ text, data, rows, children, onSend }) {
}
};
useEffect(() => {
+ textChanged();
updateFocus();
}, []);