Skip to content

Commit 9225ba8

Browse files
committed
chore: with correct hidden
1 parent 63eb501 commit 9225ba8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

assets/index.less

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
overflow: hidden;
2828
transition: transform @duration;
2929

30+
&-hidden {
31+
display: none;
32+
}
33+
3034
// Placement
3135
.@{prefixCls}-left & {
3236
top: 0;
@@ -47,10 +51,6 @@
4751
overflow: auto;
4852
background: #fff;
4953
pointer-events: auto;
50-
51-
&-hidden {
52-
display: none;
53-
}
5454
}
5555
}
5656

docs/examples/assets/motion.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
&-appear,
3333
&-leave {
3434
&-start {
35-
transition: none;
35+
transition: none!important;
3636
}
3737

3838
&-active {

src/DrawerPopup.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ export default function DrawerPopup(props: DrawerPopupProps) {
280280
}
281281
}}
282282
removeOnLeave={false}
283-
leavedClassName={`${prefixCls}-content-hidden`}
283+
leavedClassName={`${prefixCls}-content-wrapper-hidden`}
284284
>
285285
{({ className: motionClassName, style: motionStyle }, motionRef) => {
286286
return (

0 commit comments

Comments
 (0)