wire up outside click handler (#14125)

This commit is contained in:
Gerard Burns 2024-07-09 09:44:41 +01:00 committed by GitHub
parent 37d53cff20
commit e23cfd3e4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
<Modal
on:cancel={handleModalClose}
bind:this={modal}
disableCancel={$builderStore.inBuilder}
disableCancel={$builderStore.inBuilder || ignoreClicksOutside}
zIndex={2}
>
<div use:styleable={$component.styles} class={`modal-content ${size}`}>