Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

:bug: Fixed entry animation on few modals

Liyas Thomasa8f6df16a86d
diff --git a/components/modal.vue b/components/modal.vue
index 5429bb854..df3bfaa87 100644
--- a/components/modal.vue
+++ b/components/modal.vue
@@ -1,5 +1,5 @@
<template>
- <transition name="modal-fade">
+ <transition name="modal" appear>
<div class="modal-backdrop">
<div class="modal-wrapper">
<div class="modal-container">
@@ -61,13 +61,13 @@
* these styles.
*/
-.modal-fade-enter,
-.modal-fade-leave-active {
+.modal-enter,
+.modal-leave-active {
opacity: 0;
}
-.modal-fade-enter .modal-container,
-.modal-fade-leave-active .modal-container {
+.modal-enter .modal-container,
+.modal-leave-active .modal-container {
transform: scale(0.8);
transition: all 0.2s ease-in-out;
}