Replies: 1 comment 2 replies
-
| 
         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.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to apply transitions to modals? Couldn't find anything on this.
Beta Was this translation helpful? Give feedback.
All reactions