@egjs/flicking 4.12.0-beta.6 → 4.12.0-beta.7

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.
@@ -4,7 +4,7 @@ name: @egjs/flicking
4
4
  license: MIT
5
5
  author: NAVER Corp.
6
6
  repository: https://github.com/naver/egjs-flicking
7
- version: 4.12.0-beta.6
7
+ version: 4.12.0-beta.7
8
8
  */
9
9
  'use strict';
10
10
 
@@ -7895,7 +7895,7 @@ var Flicking = /*#__PURE__*/function (_super) {
7895
7895
  * Flicking.VERSION; // ex) 4.0.0
7896
7896
  * ```
7897
7897
  */
7898
- Flicking.VERSION = "4.12.0-beta.6";
7898
+ Flicking.VERSION = "4.12.0-beta.7";
7899
7899
  return Flicking;
7900
7900
  }(Component);
7901
7901
 
@@ -7944,21 +7944,19 @@ var CrossFlicking = /*#__PURE__*/function (_super) {
7944
7944
  _this._nextIndex = visiblePanels[0].index;
7945
7945
  }
7946
7946
  // _syncToCategory에서 완전히 가로 이동이 이루어지기 전에 세로 방향 index가 변하는 경우가 있어 timeout으로 처리
7947
- setTimeout(function () {
7948
- _this._sideFlicking.forEach(function (child, i) {
7949
- if (_this._nextIndex !== i) {
7950
- var _a = _this._sideState[i],
7951
- start = _a.start,
7952
- end = _a.end;
7953
- if (child.index < start) {
7954
- child.stopAnimation();
7955
- void child.moveTo(start, 0);
7956
- } else if (child.index > end) {
7957
- child.stopAnimation();
7958
- void child.moveTo(end, 0);
7959
- }
7947
+ _this._sideFlicking.forEach(function (child, i) {
7948
+ if (_this._nextIndex !== i) {
7949
+ var _a = _this._sideState[i],
7950
+ start = _a.start,
7951
+ end = _a.end;
7952
+ if (child.index < start) {
7953
+ child.stopAnimation();
7954
+ void child.moveTo(start, 0);
7955
+ } else if (child.index > end) {
7956
+ child.stopAnimation();
7957
+ void child.moveTo(end, 0);
7960
7958
  }
7961
- });
7959
+ }
7962
7960
  });
7963
7961
  if (e.isTrusted) {
7964
7962
  _this._syncToCategory(_this._sideFlicking[_this._nextIndex].index, _this._nextIndex);