Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/ReactSlider/ReactSlider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,9 @@ class ReactSlider extends React.Component {
snapDragDisabled: false,
invert: false,
marks: [],
renderThumb: props => <div {...props} />,
renderTrack: props => <div {...props} />,
renderMark: props => <span {...props} />,
renderThumb: ({ key, ...props }) => <div key={key} {...props} />,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch👍

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixed my issue! thanks!

renderTrack: ({ key, ...props }) => <div key={key} {...props} />,
renderMark: ({ key, ...props }) => <span key={key} {...props} />,
};

constructor(props) {
Expand Down