Skip to content

Commit

Permalink
Merge pull request #2254 from Jade-GG/patch-3
Browse files Browse the repository at this point in the history
[Vue] Use lazy & onChange for DynamicRangeSlider
  • Loading branch information
mohdashraf010897 authored Nov 21, 2023
2 parents 09fec0b + 20111e3 commit 138f7b7
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 138f7b7

Please sign in to comment.