Replies: 1 comment 1 reply
-
Currently not implemented, but what about that dirty workaround? <Button on:click={() => (defaultModal = true)}>Default modal</Button>
{#if defaultModal}
<div transition:fade>
<Modal bind:open={defaultModal} autoclose>
<div slot="header">Terms of Service</div>
<p class="text-base leading-relaxed">Modal content</p>
</Modal>
</div>
{/if} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to apply transitions to modals? Couldn't find anything on this.
Beta Was this translation helpful? Give feedback.
All reactions