diff options
author | Vitaly Takmazov | 2019-06-15 11:30:27 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:55 +0300 |
commit | dda22de10cee8283998073c64dd54de948d22ed2 (patch) | |
tree | ad12f5bbd11123fd2438d6e8953534ec2caa18a1 | |
parent | d8e4a1093f91c3715457232b93f7fb30dabff65c (diff) |
MessageInput: autosize on mount
-rw-r--r-- | vnext/src/ui/MessageInput.js | 1 |
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(); }, []); |