Skip to content

Commit 17995c9

Browse files
committed
fix: add animation for expand the collapse
1 parent 652d5d4 commit 17995c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/collapse/style.scss

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
#{$rcCollapse} {
1111
background-color: inherit;
1212

13+
&-anim-active {
14+
transition: height 0.2s ease-out;
15+
}
16+
1317
&-item {
1418
border-top: 0;
1519

0 commit comments

Comments
 (0)