Skip to content

Commit

Permalink
Remove visibility property from rc-slider-track
Browse files Browse the repository at this point in the history
  • Loading branch information
7brend7 committed Nov 24, 2017
1 parent 3884e43 commit 3204a90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/common/Track.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ const Track = (props) => {
};

const elStyle = {
visibility: included ? 'visible' : 'hidden',
...style,
...positonStyle,
};
return <div className={className} style={elStyle} />;
return included ? <div className={className} style={elStyle} /> : null;
};

export default Track;

0 comments on commit 3204a90

Please sign in to comment.