From 8fd4412dbee44d0b02dc4266ef998492a24d46c2 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Wed, 8 Sep 2021 19:18:37 +0200 Subject: [PATCH] Fix bug where sometimes Autocomplete menu would not show even though suggestions exist --- ts/components/DropdownMenu.svelte | 3 +- ts/components/WithDropdown.svelte | 7 ++--- ts/editor/TagEditor.svelte | 46 ++++++++++--------------------- ts/editor/WithAutocomplete.svelte | 21 ++++++-------- 4 files changed, 26 insertions(+), 51 deletions(-) diff --git a/ts/components/DropdownMenu.svelte b/ts/components/DropdownMenu.svelte index 2dc03e668..830f19009 100644 --- a/ts/components/DropdownMenu.svelte +++ b/ts/components/DropdownMenu.svelte @@ -11,11 +11,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html export { className as class }; export let labelledby: string | undefined = undefined; + export let show = false; setContext(dropdownKey, null); -