summaryrefslogtreecommitdiffstats
path: root/webapp/components/edit_post_modal.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-11-04 12:35:38 -0400
committerChristopher Speller <crspeller@gmail.com>2016-11-04 12:35:38 -0400
commite63e80dee012b22aca94c0095e184c6a6a80d4d7 (patch)
treef58b48a042cdefa6a7f65f4b3876322362bc0b98 /webapp/components/edit_post_modal.jsx
parent7403bbce69baeabd7b4cd1ef316513a9fc6807c5 (diff)
downloadchat-e63e80dee012b22aca94c0095e184c6a6a80d4d7.tar.gz
chat-e63e80dee012b22aca94c0095e184c6a6a80d4d7.tar.bz2
chat-e63e80dee012b22aca94c0095e184c6a6a80d4d7.zip
PLT-4404/PLT-4578/PLT-4541/PLT-4542 Replaced third party autosizing textarea with a custom one (#4442)
* PLT-4578 Replaced third party autosizing textarea with a custom one * Fix Textbox.handleHeightChange not being called * Removed unused CSS * PLT-4541 Force EditPostModal to resize upon opening * Removed usage of jquery from AutosizeTextarea * Reverted changes made for PLT-4580 as they're no longer needed
Diffstat (limited to 'webapp/components/edit_post_modal.jsx')
-rw-r--r--webapp/components/edit_post_modal.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/edit_post_modal.jsx b/webapp/components/edit_post_modal.jsx
index cd33dd113..6ed2b81b2 100644
--- a/webapp/components/edit_post_modal.jsx
+++ b/webapp/components/edit_post_modal.jsx
@@ -156,6 +156,8 @@ export default class EditPostModal extends React.Component {
onModalShown() {
this.refs.editbox.focus();
+
+ this.refs.editbox.recalculateSize();
}
onModalHide() {