Open brambow opened 5 years ago
Interestingly, when I attempted my actual use case, which was dynamically adding the slider based on a button click, it renders as expected:
I was having the same issue, but testing a little further the it happened with non-multiple ranges too.
Apparently it happens when the Slider isn't visible on initialization. On my scenario it was inside a <Accordion/>
, so if the inner panel isn't visible when the Slider is first rendered, the start values don't show up because this.inner.offsetWidth
equals 0.
I could try a PR but I don't know if @iozbeyli is still accepting them.
Greetings @renato - I am facing the same issue. Do you have a workaround at hand?
Hey @TimMcCauley, I ended up using another slider component (rc-slider), so I don't have a workaround at hand, unfortunately.
Thank you @renato, I will check it out! Appreciated.
Using v0.7.0
Result on first render:
What I expect to see