mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-09 20:02:22 +01:00
Merge pull request #260366 from mjbvz/organic-reindeer
Make sure we update the height on async rendering
This commit is contained in:
1 file changed
+3
@@ -280,6 +280,9 @@ export class ChatMarkdownContentPart extends Disposable implements IChatContentP
|
||||
// Need to load async
|
||||
MarkedKatexSupport.loadExtension(dom.getWindow(context.container)).then(() => {
|
||||
doRenderMarkdown();
|
||||
if (!this._isDisposed) {
|
||||
this._onDidChangeHeight.fire();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
doRenderMarkdown();
|
||||
|
||||
Reference in new issue
Block a user