Skip to content

Commit 7c0be69

Browse files
authored
Check for invalid range
1 parent 5dac1d8 commit 7c0be69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue/src/components/range/DynamicRangeSlider.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ const DynamicRangeSlider = {
320320
},
321321

322322
render() {
323-
if (!this.range || !this.currentValue) {
323+
if (!this.range || !this.currentValue || this.range.start === null || this.range.end === null || this.range.start === this.range.end) {
324324
return null;
325325
}
326326
const { start, end } = this.range;

0 commit comments

Comments
 (0)