Add adjust animation for select

This commit is contained in:
afc163 2015-10-22 18:27:17 +08:00
parent e82cc1b251
commit b910d353df

View File

@ -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;
}