From b910d353dfc29d599c0ed4e654b461df587f402c Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 22 Oct 2015 18:27:17 +0800 Subject: [PATCH] Add adjust animation for select --- style/components/select.less | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/style/components/select.less b/style/components/select.less index d7eeec9172..e497bd0709 100644 --- a/style/components/select.less +++ b/style/components/select.less @@ -317,6 +317,24 @@ } .@{select-prefix-cls}-dropdown { + &.slide-up-enter.slide-up-enter-active&--below, + &.slide-up-appear.slide-up-appear-active&--below { + animation-name: antSlideUpIn; + } + + &.slide-up-enter.slide-up-enter-active&--top, + &.slide-up-appear.slide-up-appear-active&--top { + animation-name: antSlideDownIn; + } + + &.slide-up-leave.slide-up-leave-active&--below { + animation-name: antSlideUpOut; + } + + &.slide-up-leave.slide-up-leave-active&--top { + animation-name: antSlideDownOut; + } + &-menu-item { transition: background 0.3s ease; }