From 7c39430d1c636cf039d2a69165b0ad4f4cd0aa6d Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 21 Mar 2022 13:38:53 +0000 Subject: [PATCH] Add vertical scrolling to selected component and support scrolling to selected screen --- .../src/components/common/NavItem.svelte | 83 ++++++++++++------- .../ComponentTree.svelte | 6 -- .../ComponentNavigationTree/PathTree.svelte | 12 ++- .../FrontendNavigatePane.svelte | 47 +++++++---- 4 files changed, 89 insertions(+), 59 deletions(-) diff --git a/packages/builder/src/components/common/NavItem.svelte b/packages/builder/src/components/common/NavItem.svelte index 6e16879bc2..0f8ec43669 100644 --- a/packages/builder/src/components/common/NavItem.svelte +++ b/packages/builder/src/components/common/NavItem.svelte @@ -1,6 +1,6 @@
{ - const size = textRef.getBoundingClientRect() - dispatch("mouseover", size.width) - }} ondragover="return false" ondragenter="return false" > - {#if withArrow} -
- -
- {/if} +