@egjs/flicking
Advanced tools
Comparing version 4.12.0-beta.6 to 4.12.0-beta.7
{ | ||
"name": "@egjs/flicking", | ||
"version": "4.12.0-beta.6", | ||
"version": "4.12.0-beta.7", | ||
"description": "Everyday 30 million people experience. It's reliable, flexible and extendable carousel.", | ||
@@ -16,2 +16,3 @@ "main": "dist/flicking.cjs.js", | ||
"build": "run-s build:bundle build:declaration build:css printsizes", | ||
"build-react": "run-s build:bundle build:declaration && pvu --build=react-flicking", | ||
"build:bundle": "rm -rf ./dist && rollup -c", | ||
@@ -18,0 +19,0 @@ "build:declaration": "rm -rf ./declaration && tsc -p tsconfig.declaration.json", |
@@ -352,16 +352,14 @@ /* | ||
// _syncToCategory에서 완전히 가로 이동이 이루어지기 전에 세로 방향 index가 변하는 경우가 있어 timeout으로 처리 | ||
setTimeout(() => { | ||
this._sideFlicking.forEach((child, i) => { | ||
if (this._nextIndex !== i) { | ||
const { start, end } = this._sideState[i]; | ||
this._sideFlicking.forEach((child, i) => { | ||
if (this._nextIndex !== i) { | ||
const { start, end } = this._sideState[i]; | ||
if (child.index < start) { | ||
child.stopAnimation(); | ||
void child.moveTo(start, 0); | ||
} else if (child.index > end) { | ||
child.stopAnimation(); | ||
void child.moveTo(end, 0); | ||
} | ||
if (child.index < start) { | ||
child.stopAnimation(); | ||
void child.moveTo(start, 0); | ||
} else if (child.index > end) { | ||
child.stopAnimation(); | ||
void child.moveTo(end, 0); | ||
} | ||
}); | ||
} | ||
}); | ||
@@ -368,0 +366,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5318956
49686