1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00

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 6be934a6c9
commit 2103fff1d2

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}
>