Skip to content

Commit 20111e3

Browse files
authored
Use lazy & onChange for dynamicrangeslider
1 parent 5dac1d8 commit 20111e3

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)