mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 08:22:41 +08:00
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:
parent
d61b98ddb3
commit
a4233eb35d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user