From 2afe040332de143fbcf2600f91396195a8a24140 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 14 Aug 2024 16:36:19 +0100 Subject: [PATCH] Update scrolling to selected component so that it works when adding components --- .../client/src/components/Component.svelte | 31 ++++++++++++------- .../components/preview/GridDNDHandler.svelte | 2 +- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/packages/client/src/components/Component.svelte b/packages/client/src/components/Component.svelte index 8f24f2f330..d25daf7bf9 100644 --- a/packages/client/src/components/Component.svelte +++ b/packages/client/src/components/Component.svelte @@ -9,7 +9,7 @@