From e5f6217c5fdc89ba21b2cf62e6af7b5bdb888043 Mon Sep 17 00:00:00 2001 From: Lily Pacegit Date: Mon, 6 Jul 2020 14:42:08 -0400 Subject: [PATCH 1/2] text area autoresizes on message send --- src/v2/Apps/Conversation/Components/Reply.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v2/Apps/Conversation/Components/Reply.tsx b/src/v2/Apps/Conversation/Components/Reply.tsx index 549103ada47..c73ce98efc2 100644 --- a/src/v2/Apps/Conversation/Components/Reply.tsx +++ b/src/v2/Apps/Conversation/Components/Reply.tsx @@ -65,6 +65,7 @@ export const Reply: React.FC = props => { _response => { // @ts-ignore textArea.current.value = "" + textArea.current.style.height = "inherit" setLoading(false) setButtonDisabled(true) }, From 54aa4fab711d464153e9b13e64276416c7a46d3b Mon Sep 17 00:00:00 2001 From: Lily Pacegit Date: Mon, 6 Jul 2020 15:47:51 -0400 Subject: [PATCH 2/2] added ts-ignore --- src/v2/Apps/Conversation/Components/Reply.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v2/Apps/Conversation/Components/Reply.tsx b/src/v2/Apps/Conversation/Components/Reply.tsx index c73ce98efc2..33cb3f312ca 100644 --- a/src/v2/Apps/Conversation/Components/Reply.tsx +++ b/src/v2/Apps/Conversation/Components/Reply.tsx @@ -65,6 +65,7 @@ export const Reply: React.FC = props => { _response => { // @ts-ignore textArea.current.value = "" + // @ts-ignore textArea.current.style.height = "inherit" setLoading(false) setButtonDisabled(true)