We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90efd74 commit efb8391Copy full SHA for efb8391
vue-animated-list.js
@@ -48,7 +48,7 @@
48
removeClass(node, moveClass)
49
}
50
if (moving || type === 'transition') {
51
- frags.forEach(frag => {
+ frags.forEach(function (frag) {
52
frag._oldPos = frag.node.getBoundingClientRect()
53
})
54
return true
@@ -84,7 +84,7 @@
84
var dy = oldPos.top - newPos.top
85
if (dx !== 0 || dy !== 0) {
86
frag.moved = true
87
- node.style.transform = `translate(${dx}px, ${dy}px)`
+ node.style.transform = 'translate(' + dx + 'px, ' + dy + 'px)'
88
node.style.transitionDuration = '0s'
89
} else {
90
frag.moved = false
0 commit comments