Skip to content

Commit

Permalink
Fix non-range slider (remove lower-bound handle)
Browse files Browse the repository at this point in the history
  • Loading branch information
bayov committed Aug 6, 2016
1 parent 36f1662 commit 169c2e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Slider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ class Slider extends React.Component {
dragging: handle === i,
key: i,
}));
if (!range) { handles.shift(); }

const isIncluded = included || range;

Expand Down

0 comments on commit 169c2e7

Please sign in to comment.