Topics
+ {/snippet} + {#snippet input()} +Price*
diff --git a/src/app/components/CurrencyInput.svelte b/src/app/components/CurrencyInput.svelte index 455d0695..646441ed 100644 --- a/src/app/components/CurrencyInput.svelte +++ b/src/app/components/CurrencyInput.svelte @@ -96,6 +96,10 @@ params={{ trigger: "manual", interactive: true, + placement: "bottom", getReferenceClientRect: () => wrapper!.getBoundingClientRect(), + onShow: (instance: Instance) => { + instance.popper.style.width = `${wrapper!.getBoundingClientRect().width + 8}px` + }, }} /> diff --git a/src/app/components/ProfileMultiSelect.svelte b/src/app/components/ProfileMultiSelect.svelte index 87cfd310..e5154bf6 100644 --- a/src/app/components/ProfileMultiSelect.svelte +++ b/src/app/components/ProfileMultiSelect.svelte @@ -62,7 +62,7 @@ } } - let input: Element | undefined = $state() + let label: Element | undefined = $state() let popover: Instance | undefined = $state() let instance: any = $state() @@ -92,7 +92,7 @@ {/each} -