@egjs/flicking 4.10.6 → 4.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egjs/flicking",
3
- "version": "4.10.6",
3
+ "version": "4.10.7",
4
4
  "description": "Everyday 30 million people experience. It's reliable, flexible and extendable carousel.",
5
5
  "main": "dist/flicking.js",
6
6
  "module": "dist/flicking.esm.js",
@@ -142,7 +142,7 @@
142
142
  "@egjs/axes": "^3.8.3",
143
143
  "@egjs/component": "^3.0.1",
144
144
  "@egjs/imready": "^1.3.1",
145
- "@egjs/list-differ": "^1.0.0"
145
+ "@egjs/list-differ": "^1.0.1"
146
146
  },
147
147
  "husky": {
148
148
  "hooks": {
package/src/Flicking.ts CHANGED
@@ -1397,7 +1397,7 @@ class Flicking extends Component<FlickingEvents> {
1397
1397
  renderer.batchInsert({ index: 0, elements: parseElement(panels.map(panel => panel.html!)), hasDOMInElements: true });
1398
1398
  }
1399
1399
 
1400
- if (index) {
1400
+ if (index != null) {
1401
1401
  const panelIndex = visibleOffset
1402
1402
  ? index - visibleOffset
1403
1403
  : index;