Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/platforms/web/runtime/components/transition-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ export default {
children.forEach(applyTranslation)

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

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