Update FolderMenu.svelte

This commit is contained in:
Classic298 2025-06-21 21:52:04 +02:00 committed by GitHub
parent 1f69024967
commit 6bd849415f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,10 @@
import Download from '$lib/components/icons/Download.svelte'; import Download from '$lib/components/icons/Download.svelte';
let show = false; let show = false;
const handleMenuTrigger = (event) => {
event.stopPropagation();
};
</script> </script>
<Dropdown <Dropdown
@ -23,9 +27,11 @@
} }
}} }}
> >
<div on:click={handleMenuTrigger} on:pointerup={handleMenuTrigger}>
<Tooltip content={$i18n.t('More')}> <Tooltip content={$i18n.t('More')}>
<slot /> <slot />
</Tooltip> </Tooltip>
</div>
<div slot="content"> <div slot="content">
<DropdownMenu.Content <DropdownMenu.Content