diff --git a/src/components/lists/ListGroup.vue b/src/components/lists/ListGroup.vue index 3c68b7bea62..97b05aff586 100755 --- a/src/components/lists/ListGroup.vue +++ b/src/components/lists/ListGroup.vue @@ -94,13 +94,12 @@ setTimeout(() => el.style.height = `${scrollHeight}px`, 50) - addOnceEventListener(el, done, 'transitionend') + addOnceEventListener(el, 'transitionend', done) }, leave (el, done) { el.style.height = 0 - - addOnceEventListener(el, done, 'transitionend') + addOnceEventListener(el, 'transitionend', done) }, matchRoute (to) { diff --git a/src/stylus/components/_lists.styl b/src/stylus/components/_lists.styl index 413fcb4a5e2..29e04b36dfe 100755 --- a/src/stylus/components/_lists.styl +++ b/src/stylus/components/_lists.styl @@ -172,6 +172,7 @@ &--group overflow: hidden position: relative + padding: 0 &:after content: ''