nuka-carousel
Advanced tools
Comparing version 4.6.5 to 4.6.6
@@ -197,2 +197,6 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
if (this.state.isWrappingAround) { | ||
this.isWrapped = true; | ||
} | ||
var prevSlideCount = getValidChildren(prevProps.children).length; | ||
@@ -961,3 +965,4 @@ var slideCount = getValidChildren(this.props.children).length; | ||
if (slideHeight !== this.state.slideHeight || slideWidth !== this.state.slideWidth) { | ||
if (slideHeight !== this.state.slideHeight || slideWidth !== this.state.slideWidth || this.isWrapped) { | ||
this.isWrapped = false; | ||
this.setState({ | ||
@@ -964,0 +969,0 @@ slideHeight: slideHeight, |
@@ -238,2 +238,6 @@ "use strict"; | ||
if (this.state.isWrappingAround) { | ||
this.isWrapped = true; | ||
} | ||
var prevSlideCount = (0, _bootstrappingUtilities.getValidChildren)(prevProps.children).length; | ||
@@ -1002,3 +1006,4 @@ var slideCount = (0, _bootstrappingUtilities.getValidChildren)(this.props.children).length; | ||
if (slideHeight !== this.state.slideHeight || slideWidth !== this.state.slideWidth) { | ||
if (slideHeight !== this.state.slideHeight || slideWidth !== this.state.slideWidth || this.isWrapped) { | ||
this.isWrapped = false; | ||
this.setState({ | ||
@@ -1005,0 +1010,0 @@ slideHeight: slideHeight, |
{ | ||
"name": "nuka-carousel", | ||
"version": "4.6.5", | ||
"version": "4.6.6", | ||
"description": "Pure React Carousel", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
284626
5500