fix(web): context menu overlap + outclick types (#2506)

This commit is contained in:
Michel Heusschen 2023-05-21 18:01:08 +02:00 committed by GitHub
parent 96fb68135e
commit 85c6cf4309
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 36 additions and 52 deletions

View file

@ -27,7 +27,7 @@
<CircleIconButton {title} logo={icon} on:click={handleShowMenu} />
{#if showContextMenu}
<ContextMenu {...contextMenuPosition} on:clickoutside={() => (showContextMenu = false)}>
<ContextMenu {...contextMenuPosition} on:outclick={() => (showContextMenu = false)}>
<div class="flex flex-col rounded-lg">
<slot />
</div>