react-slider
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -5,2 +5,9 @@ # Changelog | ||
### [1.3.3](https://github.com/zillow/react-slider/compare/v1.3.2...v1.3.3) (2024-06-06) | ||
### Bug Fixes | ||
* fix issue with size calculation when slider is hidden ([119e9f4](https://github.com/zillow/react-slider/commit/119e9f48ca4ee0aa13f0fe3990bc73ac92648454)) | ||
### [1.3.2](https://github.com/zillow/react-slider/compare/v1.3.1...v1.3.2) (2023-06-27) | ||
@@ -7,0 +14,0 @@ |
@@ -1,2 +0,2 @@ | ||
var _jsxFileName = "/Users/krise/github/react-slider/src/components/ReactSlider/__tests__/ReactSlider.test.js", | ||
var _jsxFileName = "/Users/krise/GitHub/react-slider/src/components/ReactSlider/__tests__/ReactSlider.test.js", | ||
_this = this; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var _jsxFileName = "/Users/krise/github/react-slider/src/components/ReactSlider/ReactSlider.jsx"; | ||
var _jsxFileName = "/Users/krise/GitHub/react-slider/src/components/ReactSlider/ReactSlider.jsx"; | ||
@@ -464,3 +464,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
// during the mount event, or during the last resize), then calculate it now | ||
if (this.state.upperBound === 0) { | ||
if (this.state.upperBound === 0 || this.state.thumbSize === 0 || this.state.sliderLength) { | ||
this.resize(); | ||
@@ -467,0 +467,0 @@ } |
@@ -1,2 +0,2 @@ | ||
var _jsxFileName = "/Users/krise/github/react-slider/src/styleguidist/ThemeWrapper.jsx", | ||
var _jsxFileName = "/Users/krise/GitHub/react-slider/src/styleguidist/ThemeWrapper.jsx", | ||
_templateObject, | ||
@@ -3,0 +3,0 @@ _this = this; |
@@ -470,3 +470,3 @@ "use strict"; | ||
// during the mount event, or during the last resize), then calculate it now | ||
if (this.state.upperBound === 0) { | ||
if (this.state.upperBound === 0 || this.state.thumbSize === 0 || this.state.sliderLength) { | ||
this.resize(); | ||
@@ -473,0 +473,0 @@ } |
{ | ||
"name": "react-slider", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Slider component for React", | ||
@@ -5,0 +5,0 @@ "main": "lib/components/ReactSlider/ReactSlider.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
131051