From 697c43187a9a08731fd67467c31ef81e6b3e889f 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} +