Revert to use manual handlers for closing rather than clickOutside action
This commit is contained in:
parent
5b7f58d7b4
commit
142c47fc36
|
@ -46,11 +46,13 @@
|
|||
|
||||
{#if visible}
|
||||
<Portal target=".modal-container">
|
||||
<div class="spectrum-Underlay is-open" transition:fade={{ duration: 200 }}>
|
||||
<div class="modal-wrapper">
|
||||
<div class="modal-inner-wrapper">
|
||||
<div
|
||||
class="spectrum-Underlay is-open"
|
||||
transition:fade={{ duration: 200 }}
|
||||
on:mousedown|self={hide}>
|
||||
<div class="modal-wrapper" on:mousedown|self={hide}>
|
||||
<div class="modal-inner-wrapper" on:mousedown|self={hide}>
|
||||
<div
|
||||
use:clickOutside={hide}
|
||||
use:focusFirstInput
|
||||
class="spectrum-Modal is-open"
|
||||
transition:fly={{ y: 30, duration: 200 }}>
|
||||
|
|
Loading…
Reference in New Issue