From 85831a62ee28a24689bf29cb949cb7d9f948850d Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Tue, 28 Jul 2015 17:26:03 +0930 Subject: [PATCH] Update the composer height on redraw For some reason, the text editor isn't being retained across route changes, and it loses its height style. This reapplies it on every redraw. --- js/forum/src/components/Composer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/forum/src/components/Composer.js b/js/forum/src/components/Composer.js index f95af254e..9e8b36397 100644 --- a/js/forum/src/components/Composer.js +++ b/js/forum/src/components/Composer.js @@ -88,6 +88,8 @@ class Composer extends Component { } config(isInitialized, context) { + this.updateHeight(); + if (isInitialized) return; // Since this component is a part of the global UI that persists between