@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.
package/dist/flicking.js CHANGED
@@ -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
  (function (global, factory) {
10
10
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@egjs/component'), require('@egjs/axes'), require('@egjs/imready')) :
@@ -7991,7 +7991,7 @@ version: 4.12.0-beta.6
7991
7991
  * Flicking.VERSION; // ex) 4.0.0
7992
7992
  * ```
7993
7993
  */
7994
- Flicking.VERSION = "4.12.0-beta.6";
7994
+ Flicking.VERSION = "4.12.0-beta.7";
7995
7995
  return Flicking;
7996
7996
  }(Component);
7997
7997
 
@@ -8040,21 +8040,19 @@ version: 4.12.0-beta.6
8040
8040
  _this._nextIndex = visiblePanels[0].index;
8041
8041
  }
8042
8042
  // _syncToCategory에서 완전히 가로 이동이 이루어지기 전에 세로 방향 index가 변하는 경우가 있어 timeout으로 처리
8043
- setTimeout(function () {
8044
- _this._sideFlicking.forEach(function (child, i) {
8045
- if (_this._nextIndex !== i) {
8046
- var _a = _this._sideState[i],
8047
- start = _a.start,
8048
- end = _a.end;
8049
- if (child.index < start) {
8050
- child.stopAnimation();
8051
- void child.moveTo(start, 0);
8052
- } else if (child.index > end) {
8053
- child.stopAnimation();
8054
- void child.moveTo(end, 0);
8055
- }
8043
+ _this._sideFlicking.forEach(function (child, i) {
8044
+ if (_this._nextIndex !== i) {
8045
+ var _a = _this._sideState[i],
8046
+ start = _a.start,
8047
+ end = _a.end;
8048
+ if (child.index < start) {
8049
+ child.stopAnimation();
8050
+ void child.moveTo(start, 0);
8051
+ } else if (child.index > end) {
8052
+ child.stopAnimation();
8053
+ void child.moveTo(end, 0);
8056
8054
  }
8057
- });
8055
+ }
8058
8056
  });
8059
8057
  if (e.isTrusted) {
8060
8058
  _this._syncToCategory(_this._sideFlicking[_this._nextIndex].index, _this._nextIndex);