Skip to content

Commit

Permalink
fixed addOnceTransition properties not being in correct order, update…
Browse files Browse the repository at this point in the history
…d groups to have no padding
  • Loading branch information
johnleider committed Jan 18, 2017
1 parent 7bf1ecd commit 88243f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/lists/ListGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions src/stylus/components/_lists.styl
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@
&--group
overflow: hidden
position: relative
padding: 0

&:after
content: ''
Expand Down

0 comments on commit 88243f6

Please sign in to comment.