Fix: Mejorar animacion de crecimiento del area de input
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m7s

- Cambiar animacion a translateY para mejor rendimiento
- Agregar transition-all al contenedor del input
- El contenedor crece suavemente cuando hay archivos seleccionados
This commit is contained in:
2025-12-04 10:40:15 -06:00
parent 5df59747fe
commit 6cb13f6907
2 changed files with 14 additions and 18 deletions

View File

@@ -372,25 +372,21 @@ const getTypePlaceholder = (type: MessageType): string => {
<style scoped>
/* Slide up animation for previews */
.slide-up-enter-active,
.slide-up-leave-active {
transition: all 0.3s ease;
overflow: hidden;
.slide-up-enter-active {
transition: all 0.3s ease-out;
}
.slide-up-leave-active {
transition: all 0.2s ease-in;
}
.slide-up-enter-from {
opacity: 0;
transform: translateY(20px);
}
.slide-up-enter-from,
.slide-up-leave-to {
opacity: 0;
max-height: 0;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
.slide-up-enter-to,
.slide-up-leave-from {
opacity: 1;
max-height: 200px;
transform: translateY(10px);
}
</style>