Skip to content

Commit 5035771

Browse files
committed
fix: popover position not correct #3147
1 parent 72a8691 commit 5035771

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/style/core/motion/zoom.less

+6-1
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,13 @@
4848
}
4949

5050
@keyframes antZoomBigIn {
51+
// 计算popover位置时,有可能处于 active 状态,通过这种方式 hack 待改进
5152
0% {
52-
transform: scale(0.8);
53+
transform: none;
54+
opacity: 0;
55+
}
56+
5% {
57+
transform: scale(0.2);
5358
opacity: 0;
5459
}
5560
100% {

0 commit comments

Comments
 (0)