@egjs/flicking 4.14.0 → 4.14.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egjs/flicking",
3
- "version": "4.14.0",
3
+ "version": "4.14.1-beta.0",
4
4
  "description": "Everyday 30 million people experience. It's reliable, flexible and extendable carousel.",
5
5
  "main": "dist/flicking.cjs.js",
6
6
  "module": "dist/flicking.esm.js",
@@ -389,7 +389,9 @@ abstract class Control {
389
389
  return animate();
390
390
  } else {
391
391
  return animate().then(async () => {
392
- await flicking.renderer.render();
392
+ if (flicking.initialized) {
393
+ await flicking.renderer.render();
394
+ }
393
395
  }).catch(err => {
394
396
  if (axesEvent && err instanceof FlickingError && err.code === ERROR.CODE.ANIMATION_INTERRUPTED) return;
395
397
  throw err;