fix: remove transition from wizard

This commit is contained in:
Arman committed 2022-08-02 18:03:55 +02:00
1 parent 57f151ffc1
commit 0d56abce17
1 file changed
+1 -6
+1 -6
View File
@@ -1,15 +1,10 @@
<script lang="ts">
import { createEventDispatcher } from 'svelte';
import { fly, type FlyParams } from 'svelte/transition';
export let show = false;
export let title: string;
const dispatch = createEventDispatcher();
const transitionFly: FlyParams = {
duration: 150,
y: 50
};
const handleKeydown = (event: KeyboardEvent) => {
if (event.key === 'Escape') {
@@ -27,7 +22,7 @@
<svelte:window on:keydown={handleKeydown} />
{#if show}
<section class="wizard" transition:fly={transitionFly}>
<section class="wizard">
<div class="wizard-header-strip" />
<div class="wizard-start-bg" />
<div class="wizard-end-bg" />