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.
This commit is contained in:
Toby Zerner 2015-07-28 17:26:03 +09:30
parent d61b98ddb3
commit a4233eb35d

View File

@ -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