First of all, thanks for the nice package. I was happy to land on it after a few unsuccessful tries with other packages.
Description
I tried the recently added marks and noticed an odd behaviour: position: absolute must be explicitly set by the external CSS of the marks for them to be properly placed (see image and sandbox below).
First of all, thanks for the nice package. I was happy to land on it after a few unsuccessful tries with other packages.
Description
I tried the recently added marks and noticed an odd behaviour:
position: absolute
must be explicitly set by the external CSS of the marks for them to be properly placed (see image and sandbox below).On the other hand, tracks and thumbs do not need this as the
position: absolute
is already set byReactSlider
itself: https://github.com/zillow/react-slider/blob/master/src/components/ReactSlider/ReactSlider.jsx#L946 and https://github.com/zillow/react-slider/blob/master/src/components/ReactSlider/ReactSlider.jsx#L957.Is this the expected behaviour or should
ReactSlider
setposition: absolute
for the marks as well for consistency ?CodeSandbox