We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1121cf0 commit e7e9765Copy full SHA for e7e9765
services/static-webserver/client/source/class/osparc/ui/markdown/MarkdownChat.js
@@ -147,6 +147,9 @@ qx.Class.define("osparc.ui.markdown.MarkdownChat", {
147
}
148
});
149
150
+
151
+ // safety net; sometimes we miss an image load or so
152
+ setTimeout(() => this.__scheduleResize(), 500);
153
}).catch(error => console.error(error));
154
},
155
@@ -197,6 +200,8 @@ qx.Class.define("osparc.ui.markdown.MarkdownChat", {
197
200
this.setMaxWidth(null); // measurer already capped; we set exact width
198
201
this.setMinWidth(1); // avoid 0 when empty
199
202
this.setWidth(totalW);
203
204
+ this.fireEvent("resized");
205
206
207
0 commit comments