Skip to content

Commit cfc91be

Browse files
committed
enhancement for #154
1 parent 62f1267 commit cfc91be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/expansion-panel/ExpansionPanelContent.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
transition(
1414
v-on:enter="enter"
15+
v-on:after-enter="afterEnter"
1516
v-on:leave="leave"
1617
)
1718
div(
@@ -61,6 +62,10 @@
6162
},
6263
6364
methods: {
65+
afterEnter (el) {
66+
el.style.height = 'auto'
67+
},
68+
6469
closeConditional (e) {
6570
return this.$parent.$el.contains(e.target) &&
6671
!this.$parent.expand &&

0 commit comments

Comments
 (0)