From 03582c661d77f49a605ae6231681fdadb8a55e92 Mon Sep 17 00:00:00 2001 From: Jeremy Valentine <38669521+valentine195@users.noreply.github.com> Date: Tue, 11 Jan 2022 20:29:27 -0500 Subject: [PATCH] fix: fixes issue with long scrolling notes with new MS syntax in LP (closes #149) --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index 5df1518..4cc6e8b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -529,6 +529,7 @@ export default class ObsidianAdmonition extends Plugin { } update(update: ViewUpdate) { + if (update.heightChanged) return; if (!self.data.livePreviewMS) return; const md = update.view.state.field(editorViewField); if (!md.leaf?.view) return;