Skip to content

Commit

Permalink
Fix: included scale step in input slider jsx (fix #187) (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-lp authored Jul 20, 2023
1 parent aa11148 commit 4c9df59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/slider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default function Slider (props) {
_selectedItem,
_scaleStart,
_scaleEnd,
_scaleStep,
_marginDir,
onNumberSelected,
getIndexFromValue,
Expand Down Expand Up @@ -178,6 +179,7 @@ export default function Slider (props) {
value={selectedValue}
min={_scaleStart}
max={_scaleEnd}
step={_scaleStep}
aria-valuenow={selectedValue}
aria-valuemin={_scaleStart}
aria-valuemax={_scaleEnd}
Expand Down

0 comments on commit 4c9df59

Please sign in to comment.