mirror of
https://github.com/flarum/framework.git
synced 2025-04-25 22:24:04 +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
ff6f2ebf82
commit
85831a62ee
@ -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