From 4231f8c998fb3884f8142627d9144564a89a39d7 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Mon, 11 Nov 2024 21:56:11 +0100 Subject: [PATCH] fix: do not scroll editor when showing magic key popup --- src/extras/editor/magicKey.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/extras/editor/magicKey.ts b/src/extras/editor/magicKey.ts index 3f3c55d..eb32373 100644 --- a/src/extras/editor/magicKey.ts +++ b/src/extras/editor/magicKey.ts @@ -295,10 +295,6 @@ class PluginState { this.popup.layoutPopup(this); - this.popup.container.scrollIntoView({ - block: "nearest", - }); - // Focus the input const input = this.popup.container.querySelector( ".popup-input",