Skip to content

Commit

Permalink
Merge pull request #9858 from fabianvo/patch-slider-bar-click
Browse files Browse the repository at this point in the history
Fixed #9857 - p-slider does not react when clicking on bar in some cases
  • Loading branch information
yigitfindikli authored Feb 15, 2021
2 parents 62a2df1 + 6f26196 commit bdfab37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/slider/slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ export class Slider implements OnDestroy,ControlValueAccessor {
}

setValueFromHandle(event: Event, handleValue: any) {
this.sliderHandleClick = false;
let newValue = this.getValueFromHandle(handleValue);

if (this.range) {
Expand Down

0 comments on commit bdfab37

Please sign in to comment.