slider icon indicating copy to clipboard operation
slider copied to clipboard

tooltip is not visible in range slider

Open iamtekson opened this issue 5 years ago • 1 comments

I tried to set up the range slider with tooltip as follows,

<Range
        name="value"
        min={0}
        max={20}
        defaultValue={sliderValues}
        tipFormatter={(value) => <span className="tooltip">{value}</span>}
  />

In the console, it shows the following error,

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Handle which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node
    in div (created by Handle)
    in Handle (created by ComponentEnhancer(Range))
    in div (created by ComponentEnhancer(Range))
    in ComponentEnhancer(Range) (at Slider.js:22)
    in ValueSlider (at Hazard.js:15)
    in div (at Hazard.js:12)
    in Hazard (at PrivateRoute.js:16)
    in Route (at PrivateRoute.js:8)
    in PrivateRoute (created by ConnectFunction)
    in ConnectFunction (at App.js:64)
    in Switch (at App.js:48)
    in Router (created by BrowserRouter)
    in BrowserRouter (at App.js:46)
    in Provider (at App.js:45)
    in App (at src/index.js:8)
    in StrictMode (at src/index.js:7)

But my tooltip is not visible. am I missing something?

iamtekson avatar Aug 27 '20 02:08 iamtekson

#613

daviddavid avatar Sep 25 '20 10:09 daviddavid