feat(Popover): using popperjs

This commit is contained in:
chenjiahan
2020-11-20 14:26:41 +08:00
committed by neverland
parent 8f5a84ceec
commit 49a8d87845
5 changed files with 82 additions and 12 deletions
+11 -7
View File
@@ -4,8 +4,11 @@
.van-popover {
position: absolute;
border-radius: @border-radius-lg;
transform: none;
transition: all 0.3s;
transition-duration: 0s;
&__wrapper {
display: inline-block;
}
&__action {
position: relative;
@@ -53,9 +56,10 @@
}
}
&-zoom-enter,
&-zoom-leave-active {
transform: scale(0.8);
opacity: 0;
}
// &-zoom-enter,
// &-zoom-leave-active {
// transform: scale(0.8);
// opacity: 0;
// transition: all 0.3s;
// }
}