mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-15 07:28:05 +00:00
Merge pull request #260366 from mjbvz/organic-reindeer
Make sure we update the height on async rendering
This commit is contained in:
@@ -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