rc-slider-track-drag
Advanced tools
Comparing version 9.3.2 to 9.3.3
@@ -371,3 +371,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
if (nextBounds[0] < props.min || nextBounds[nextBounds.length - 1] > props.max) { | ||
this.onChange({ | ||
this.setState({ | ||
trackDragPosition: position | ||
@@ -378,6 +378,8 @@ }); | ||
this.onChange({ | ||
bounds: nextBounds, | ||
this.setState({ | ||
trackDragPosition: position | ||
}); | ||
this.onChange({ | ||
bounds: nextBounds | ||
}); | ||
} | ||
@@ -384,0 +386,0 @@ }, { |
@@ -390,3 +390,3 @@ "use strict"; | ||
if (nextBounds[0] < props.min || nextBounds[nextBounds.length - 1] > props.max) { | ||
this.onChange({ | ||
this.setState({ | ||
trackDragPosition: position | ||
@@ -397,6 +397,8 @@ }); | ||
this.onChange({ | ||
bounds: nextBounds, | ||
this.setState({ | ||
trackDragPosition: position | ||
}); | ||
this.onChange({ | ||
bounds: nextBounds | ||
}); | ||
} | ||
@@ -403,0 +405,0 @@ }, { |
{ | ||
"name": "rc-slider-track-drag", | ||
"version": "9.3.2", | ||
"version": "9.3.3", | ||
"description": "Slider UI component for React", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
201175
4589