79644643

Date: 2025-05-29 21:21:16
Score: 1.5
Natty:
Report link

This may not work in this case, but I wanted to know when a carousel slide was swiped with react-slick but not changed by a button. There's few events that are given so I went with beforeChange (onSwipe is in the typing but not working).

I was able to effectively do the same thing as the drag events with onTouchStart, onTouchEnd, onMouseDown, and onMouseUp and put isDragging in state.

Reasons:
  • Blacklisted phrase (1): but not working
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tuberculoco