Closed durkiewicz closed 5 years ago
Experiencing the same problem. My slider is inside a transformed div (transform: translateX(-100%)
). Clicking the slider sets the handler to the wrong position. I think that the position calculation of clicks is incorrect because of transform
.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The slider doesn't behave correctly when it's contained in an element that expands on some user action. By "expands" I mean a transition that involves
transform: scale(...)
CSS property.This issue is a bit similar to this: https://github.com/mpowaga/react-slider/issues/15 because the root cause of the issue is that the size in component's state is not up to date.