From 0a3a0f3beb31a3e5a95e0c7302d7f5ae14dc8c9a Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 6 Feb 2020 14:55:27 +0900 Subject: [PATCH] Update sequential-entrance.vue --- src/client/components/sequential-entrance.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/client/components/sequential-entrance.vue b/src/client/components/sequential-entrance.vue index 33f7a43f7..786ff0c87 100644 --- a/src/client/components/sequential-entrance.vue +++ b/src/client/components/sequential-entrance.vue @@ -65,11 +65,9 @@ export default Vue.extend({ this.index++; }, leave(el, done) { - setTimeout(() => { - el.style.opacity = 0; - el.style.transform = this.direction === 'down' ? 'translateY(64px)' : 'translateY(-64px)'; - setTimeout(done, 700); - }, this.delay * el.dataset.index) + el.style.opacity = 0; + el.style.transform = this.direction === 'down' ? 'translateY(64px)' : 'translateY(-64px)'; + setTimeout(done, 700); }, focus() { this.$slots.default[0].elm.focus();