From b34cc3a51f8e78c37df9f3683055c6478fe994fa Mon Sep 17 00:00:00 2001 From: Rui-Sun Date: Wed, 13 Nov 2024 14:56:12 +0800 Subject: [PATCH] fix: change scroll to top animation in CarouselAnimationPlugin --- packages/vtable/src/plugins/carousel-animation.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/vtable/src/plugins/carousel-animation.ts b/packages/vtable/src/plugins/carousel-animation.ts index 2f93e3e2e..a2fbb08d7 100644 --- a/packages/vtable/src/plugins/carousel-animation.ts +++ b/packages/vtable/src/plugins/carousel-animation.ts @@ -104,7 +104,8 @@ export class CarouselAnimationPlugin { () => { this.updateRow(); }, - animation ? this.animationDuration + this.animationDelay : 0 + // animation ? this.animationDuration + this.animationDelay : 0 + this.animationDuration + this.animationDelay ); } @@ -129,7 +130,8 @@ export class CarouselAnimationPlugin { () => { this.updateCol(); }, - animation ? this.animationDuration + this.animationDelay : 0 + // animation ? this.animationDuration + this.animationDelay : 0 + this.animationDuration + this.animationDelay ); } }