From e75ed0c6b89282cf475e94d6d5ad0fb35803f974 Mon Sep 17 00:00:00 2001 From: MG12 Date: Thu, 19 Nov 2015 11:59:53 +0800 Subject: update placement handle --- assets/index/Picker.less | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'assets') diff --git a/assets/index/Picker.less b/assets/index/Picker.less index 769c4b7..507121f 100644 --- a/assets/index/Picker.less +++ b/assets/index/Picker.less @@ -1,3 +1,32 @@ +.@{prefixClass}-picker-container { + z-index: 1070; + position: absolute; + + &.slide-up-enter.slide-up-enter-active&-placement-topLeft, + &.slide-up-enter.slide-up-enter-active&-placement-topRight, + &.slide-up-appear.slide-up-appear-active&-placement-topLeft, + &.slide-up-appear.slide-up-appear-active&-placement-topRight { + animation-name: antSlideDownIn; + } + + &.slide-up-enter.slide-up-enter-active&-placement-bottomLeft, + &.slide-up-enter.slide-up-enter-active&-placement-bottomRight, + &.slide-up-appear.slide-up-appear-active&-placement-bottomLeft, + &.slide-up-appear.slide-up-appear-active&-placement-bottomRight { + animation-name: antSlideUpIn; + } + + &.slide-up-leave.slide-up-leave-active&-placement-topLeft, + &.slide-up-leave.slide-up-leave-active&-placement-topRight { + animation-name: antSlideDownOut; + } + + &.slide-up-leave.slide-up-leave-active&-placement-bottomLeft, + &.slide-up-leave.slide-up-leave-active&-placement-bottomRight { + animation-name: antSlideUpOut; + } +} + .@{prefixClass} { &-picker { } -- cgit v1.2.3