First off I really love this library! Really well done!
So I've uncovered what I think is a bug in which when you set the beforeChange callback it does not fire when dragging starts but rather when the user stops dragging and the slide starts (final position is set). When tracking the "isMoving" variable as is done in this example, https://github.com/YIZHUANG/react-multi-carousel#combine-beforechange-and-nextchange-real-usage, you can't really trust that "isMoving" value is correct because it's only true for a small time after the user lets go of the drag. In my use case I'd like to render an icon when the drag is occurring however that can't be done because this beforeChange event isn't equivalent to drag start. I did find this issue and it seems to indicate the beforeChange should behave this way.
First off I really love this library! Really well done!
So I've uncovered what I think is a bug in which when you set the beforeChange callback it does not fire when dragging starts but rather when the user stops dragging and the slide starts (final position is set). When tracking the "isMoving" variable as is done in this example, https://github.com/YIZHUANG/react-multi-carousel#combine-beforechange-and-nextchange-real-usage, you can't really trust that "isMoving" value is correct because it's only true for a small time after the user lets go of the drag. In my use case I'd like to render an icon when the drag is occurring however that can't be done because this beforeChange event isn't equivalent to drag start. I did find this issue and it seems to indicate the beforeChange should behave this way.
https://github.com/YIZHUANG/react-multi-carousel/issues/60
Any help on this issue would be greatly appreciated!