Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

fix: popup animation #310

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions src/tiki-receipt.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,20 @@ watch(
</script>

<template>
<Transition appear name="fade">
<Transition appear name="slide-fade">
<nav-view :show="present" @update:show="update" />
</Transition>
</template>

<style scoped>
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.3s ease;
.slide-fade-enter-active {
transition: all 0.4s ease;
}

.fade-enter-from,
.fade-leave-to {
opacity: 0;
.slide-fade-leave-active {
transition: all 0.3s ease-out;
}
.slide-fade-enter, .slide-fade-leave-to
{
transform: translate(-50%, 100%);
}
</style>
Loading