Skip to content

Commit

Permalink
Fixed #11463 - Slider Range | Vertical handles not aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Apr 28, 2022
1 parent de1b3e9 commit c6691c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/slider/slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,15 +365,15 @@ export class Slider implements OnDestroy,ControlValueAccessor {
}

get rangeStartLeft() {
return this.isVertical() ? 'auto' : this.handleValues[0] + '%';
return this.isVertical() ? null : this.handleValues[0] + '%';
}

get rangeStartBottom() {
return this.isVertical() ? this.handleValues[0] + '%' : 'auto';
}

get rangeEndLeft() {
return this.isVertical() ? 'auto' : this.handleValues[1] + '%';
return this.isVertical() ? null : this.handleValues[1] + '%';
}

get rangeEndBottom() {
Expand Down

0 comments on commit c6691c9

Please sign in to comment.