diff --git a/src/js/render.js b/src/js/render.js index c320b21f..8d605a01 100644 --- a/src/js/render.js +++ b/src/js/render.js @@ -187,9 +187,11 @@ export default { list.innerHTML = ''; removeClass(list, CLASS_TRANSITION); - setStyle(list, getTransforms({ + setStyle(list, assign({ + width: 0, + }, getTransforms({ translateX: 0, - })); + }))); }, initImage(done) {