Skip to content

Commit

Permalink
fix(slider-multithumb): focus glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
ariellalgilmore committed Jan 15, 2025
1 parent 8e5825a commit 25e1ea0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ class SliderMultithumb {
this.svgNode.setAttribute('width', this.svgWidth);
this.svgNode.setAttribute('height', this.svgHeight);

this.minSliderFocusNode.setAttribute('y', this.focusY);
this.maxSliderFocusNode.setAttribute('y', this.focusY);
this.minSliderFocusNode.setAttribute('y', Math.max(2, this.focusY));
this.maxSliderFocusNode.setAttribute('y', Math.max(2, this.focusY));
this.minSliderFocusNode.setAttribute('width', this.focusWidth);
this.maxSliderFocusNode.setAttribute('width', this.focusWidth);
this.minSliderFocusNode.setAttribute('height', this.focusHeight);
Expand Down

0 comments on commit 25e1ea0

Please sign in to comment.