slider icon indicating copy to clipboard operation
slider copied to clipboard

React 17 support

Open adrianhelvik opened this issue 4 years ago • 3 comments

React has changed the event system in v17. This breaks rc-slider. The slider stays stuck to the cursor after releasing the click.

Thought I'd give you a heads up, thank you for the library!

adrianhelvik avatar Nov 03 '20 12:11 adrianhelvik

Warning about deprecated findDOMNode usage. See react documentation.

https://github.com/ant-design/ant-design/issues/26136

sylann avatar Apr 30 '21 11:04 sylann

For me the Slider stop working when I add the tooltip code like so:

const SliderWithTooltip = createSliderWithTooltip(Slider)

function percentFormatter(v: number) {
  return `${v} %`
}

const MyComponent = () => {
    return <SliderWithTooltip tipFormatter={percentFormatter} min={0} max={100} />
}

It freezes the entire screen once I click the slider. If I don't add the tooltip then it works.

duranmla avatar Dec 09 '21 12:12 duranmla

FindDOMNode error is still present in 9.7.5. Is there a PR addressing this?

davide-kahoot avatar Jan 04 '22 10:01 davide-kahoot