From 4d24095bc41be00286a0cf3a99234adf70cccba3 Mon Sep 17 00:00:00 2001 From: tglide <26071571+TGlide@users.noreply.github.com> Date: Mon, 28 Aug 2023 13:58:35 +0100 Subject: [PATCH] improve ai scrolling --- src/lib/commandCenter/panels/ai.svelte | 5 ++++- src/lib/commandCenter/panels/template.svelte | 19 ++++--------------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/src/lib/commandCenter/panels/ai.svelte b/src/lib/commandCenter/panels/ai.svelte index 63dfbd678..3a941f727 100644 --- a/src/lib/commandCenter/panels/ai.svelte +++ b/src/lib/commandCenter/panels/ai.svelte @@ -105,7 +105,9 @@ })} clearOnCallback={false} on:keydown={(e) => { - e.detail.cancel(); + if (e.detail.key !== 'Escape') { + e.detail.cancel(); + } }} --min-height="40rem" --max-height="52.5rem"> @@ -117,6 +119,7 @@ {option.label} +
cool
{#if $isLoading || answer}