Whenever I try to call a react state setter from within the onSwipeRequirementFulfilled callback, the card animation breaks for mobile browsers. The card seems to re-render and stops being dragged. You can keep holding the screen down and the callback keeps getting called, but the card is no longer being dragged. **This is only visible on mobile browsers or devtools mobile view.
I forked the demo repo to display this bug: