react-responsive-carousel
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -257,3 +257,3 @@ var React = require('react'); | ||
this.setState({ | ||
this.selectItem({ | ||
firstItem: this.getFirstItem(position), | ||
@@ -264,3 +264,3 @@ // if it's not a slider, we don't need to set position here | ||
this.triggerOnChange(position); | ||
}, | ||
@@ -271,3 +271,3 @@ | ||
this.setState({ | ||
this.selectItem({ | ||
selectedItem: newIndex, | ||
@@ -278,2 +278,7 @@ firstItem: this.getFirstItem(newIndex) | ||
selectItem:function (state) { | ||
this.setState(state); | ||
this.triggerOnChange(position); | ||
}, | ||
renderItems:function () { | ||
@@ -280,0 +285,0 @@ var isSlider = (this.props.type === "slider"); |
{ | ||
"name": "react-responsive-carousel", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "React Responsive Carousel", | ||
@@ -5,0 +5,0 @@ "author": { |
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
73838
1181