1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-26 05:01:05 +02:00

refactor(web): remove events from clickOutside action (#9943)

This commit is contained in:
Michel Heusschen
2024-06-02 14:20:11 +02:00
committed by GitHub
parent 5af67d159f
commit d1135db8cf
14 changed files with 18 additions and 61 deletions

View File

@ -72,7 +72,7 @@
$: renderedSelectedOption = renderOption(selectedOption);
</script>
<div use:clickOutside on:outclick={handleClickOutside} on:escape={handleClickOutside}>
<div use:clickOutside={{ onOutclick: handleClickOutside, onEscape: handleClickOutside }}>
<!-- BUTTON TITLE -->
<LinkButton on:click={() => (showMenu = true)} fullwidth {title}>
<div class="flex place-items-center gap-2 text-sm">