slider icon indicating copy to clipboard operation
slider copied to clipboard

createSliderWithTooltip is gone in version 10.0.0alpha5 (still present in 9.7.5)

Open mecon2000 opened this issue 3 years ago • 5 comments

steps to reproduce:

  1. Install latest version (10.0.0alpha5)
  2. Try to import and use createSliderWithTooltip, per instructions in readme.md Expected: app would show a slider with tooltip Actual: console complains that "createSliderWithTooltip' was not found in 'rc-slider'"

Notes: Searching rc-slider's code for "tooltip" shows only css stuff related to tooltip, at ./rc-slider/assets/index.css. no js addressing anything with the word "tooltip" in it

Workaround: Install LTS version 9.7.5, where createSliderWithTooltip is working happily ever after.

mecon2000 avatar Mar 20 '22 22:03 mecon2000

There's a sample implementation of a Tooltip Slider here that has the added benefit of removing the FindDOMNode strict mode error that previously existed with RC Tooltip Sliders. Just copy and paste that implementation into your project and use it instead, it should work in exactly the same way (or at least, it does for me). :)

evankirkiles avatar Mar 22 '22 19:03 evankirkiles

Has there been any progress on this issue? I see that the package has now reached version 10.0.0 and the README still mentions Slider.createSliderWithTooltip yet it was clearly removed in this commit.

It would be good to know if this feature is meant to be removed so that we can consider alternatives in that case. This issue is blocking us from upgrading to 10.0.0.

zoeesilcock avatar Jun 14 '22 09:06 zoeesilcock

Same for me no tooltip rendering, no HTML node in the rendered page.

SuperstrongBE avatar Jul 06 '22 09:07 SuperstrongBE

Same issue for me, need to revert to v9

mm-dsibinski avatar Nov 17 '22 09:11 mm-dsibinski

Still same issue with 10.x

muditdev avatar Jan 09 '23 04:01 muditdev