Scope picker transition to avoid weird behaviour when unmounting

This commit is contained in:
Andrew Kingston 2021-10-21 13:36:33 +01:00
parent cc69a3a0c4
commit 906f171ef2
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@
{#if open}
<div
use:clickOutside={() => (open = false)}
transition:fly={{ y: -20, duration: 200 }}
transition:fly|local={{ y: -20, duration: 200 }}
class="spectrum-Popover spectrum-Popover--bottom spectrum-Picker-popover is-open"
class:auto-width={autoWidth}
>