Skip to content

Commit 138f7b7

Browse files
Merge pull request #2254 from Jade-GG/patch-3
[Vue] Use lazy & onChange for DynamicRangeSlider
2 parents 09fec0b + 20111e3 commit 138f7b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,8 @@ const DynamicRangeSlider = {
341341
]}
342342
min={Math.floor(Math.min(start, this.currentValue[0]))}
343343
max={Math.ceil(Math.max(end, this.currentValue[1]))}
344-
onDrag-end={this.handleSlider}
344+
onChange={this.handleSlider}
345+
lazy={true}
345346
dotSize={20}
346347
height={4}
347348
enable-cross={false}

0 commit comments

Comments
 (0)