Skip to content

Commit

Permalink
Use lazy & onChange for dynamicrangeslider
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Oct 17, 2023
1 parent 5dac1d8 commit 20111e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vue/src/components/range/DynamicRangeSlider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ const DynamicRangeSlider = {
]}
min={Math.floor(Math.min(start, this.currentValue[0]))}
max={Math.ceil(Math.max(end, this.currentValue[1]))}
onDrag-end={this.handleSlider}
onChange={this.handleSlider}
lazy={true}
dotSize={20}
height={4}
enable-cross={false}
Expand Down

0 comments on commit 20111e3

Please sign in to comment.