@@ -35,10 +35,10 @@ const WrapHoc: React.FC<Props> = ({
if (animateTime) {
setTimeout(() => {
setMaskVisible(false);
- }, animateTime - 100);
+ }, animateTime);
doClose(resData);
- }, animateTime);
+ }, animateTime + 50);
return;
}
@@ -5,11 +5,10 @@
position: relative;
transform: translateY(-50px) scale(0.98);
transition: all 0.2s ease-in-out;
- opacity: 0.2;
+ opacity: 0;
&.bottom {
transform: translateY(100%) scale(1);
-
&.showed {
transform: translateY(0) scale(1);
opacity: 1;