From fbe574812e90491556183c157a254ecbf0953b01 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Tue, 5 Mar 2024 13:44:18 +0000 Subject: [PATCH] Use clickoutside library to stop mouseup closing side panel --- packages/client/package.json | 1 + packages/client/src/components/app/Layout.svelte | 6 ++++-- yarn.lock | 5 +++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/client/package.json b/packages/client/package.json index 00f89a6445..2394afe28d 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -32,6 +32,7 @@ "@spectrum-css/tag": "^3.1.4", "@spectrum-css/typography": "^3.0.2", "@spectrum-css/vars": "^3.0.1", + "@svelte-put/clickoutside": "^3.0.1", "apexcharts": "^3.22.1", "dayjs": "^1.10.8", "downloadjs": "1.4.7", diff --git a/packages/client/src/components/app/Layout.svelte b/packages/client/src/components/app/Layout.svelte index f1dcdf6b37..573bb194c7 100644 --- a/packages/client/src/components/app/Layout.svelte +++ b/packages/client/src/components/app/Layout.svelte @@ -1,10 +1,11 @@