From 2bb4b85b5d52daaffe1fec5b1dbb36e11ce19827 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 3 Oct 2023 21:44:56 +0800 Subject: [PATCH] style(Swipe): declare transition-property (#12336) --- packages/vant/src/swipe/index.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/vant/src/swipe/index.less b/packages/vant/src/swipe/index.less index cb0a2cab3..1be090010 100644 --- a/packages/vant/src/swipe/index.less +++ b/packages/vant/src/swipe/index.less @@ -18,6 +18,8 @@ &__track { display: flex; height: 100%; + // improve transition perf + transition-property: transform; &--vertical { flex-direction: column;