Open weiner opened 5 years ago
+1 I have same problem. Help plz
How specifically to slide it to the left 3 times, it's already open on the left and does not cycle.
Possible solution: call method reset()
on ReactCursorPosition each time you slide the carousel. I have similar problem with ReactCursorPosition inside scrollable container - it helps me.
When react-cursor-position is wrapped in react-slick and in modal container like react-responsive-modal it happens that the position of x or y can get negative even when the mouse is in the container.
To reproduce I created this Codesandbox POC https://codesandbox.io/s/wwwvzv1818
Steps to reproduce:
Current Result: x or y values go to negative, and isPositionOutside is set to true even when the mouse is in the container.