wire up outside click handler (#14125)
This commit is contained in:
parent
37d53cff20
commit
e23cfd3e4d
|
@ -56,7 +56,7 @@
|
||||||
<Modal
|
<Modal
|
||||||
on:cancel={handleModalClose}
|
on:cancel={handleModalClose}
|
||||||
bind:this={modal}
|
bind:this={modal}
|
||||||
disableCancel={$builderStore.inBuilder}
|
disableCancel={$builderStore.inBuilder || ignoreClicksOutside}
|
||||||
zIndex={2}
|
zIndex={2}
|
||||||
>
|
>
|
||||||
<div use:styleable={$component.styles} class={`modal-content ${size}`}>
|
<div use:styleable={$component.styles} class={`modal-content ${size}`}>
|
||||||
|
|
Loading…
Reference in New Issue