Skip to content

Commit

Permalink
fix(transition-group): work around rollup tree shaking, fix vuejs#6792
Browse files Browse the repository at this point in the history
  • Loading branch information
jkzing committed Oct 13, 2017
1 parent 1f84dd1 commit d09c0dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/web/runtime/components/transition-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default {

// force reflow to put everything in position
const body: any = document.body
const f: number = body.offsetHeight // eslint-disable-line
this._h = body.offsetHeight // assign to this to avoid removed in tree-shaking

children.forEach((c: VNode) => {
if (c.data.moved) {
Expand Down

0 comments on commit d09c0dd

Please sign in to comment.