diff --git a/ts/components/Badge.svelte b/ts/components/Badge.svelte index 451e20acb..b0b158dc2 100644 --- a/ts/components/Badge.svelte +++ b/ts/components/Badge.svelte @@ -9,7 +9,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html let className = ""; export { className as class }; - export let tooltip: string | undefined; + export let tooltip: string | undefined = undefined; const dispatch = createEventDispatcher(); diff --git a/ts/editor/Tag.svelte b/ts/editor/Tag.svelte index af459aa86..f2ec6c4b3 100644 --- a/ts/editor/Tag.svelte +++ b/ts/editor/Tag.svelte @@ -5,7 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html {#if active} - (active = false)} on:update={updateTag} + on:mount={(event) => event.detail.input.focus()} /> {:else} {/each} -
- (inputNew = false)} /> -
+ diff --git a/ts/editor/TagInput.svelte b/ts/editor/TagInput.svelte index 8785f4292..9d901d48a 100644 --- a/ts/editor/TagInput.svelte +++ b/ts/editor/TagInput.svelte @@ -3,11 +3,12 @@ Copyright: Ankitects Pty Ltd and contributors License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -->