Open longhaha1998 opened 4 years ago
Hey guys!I found a solution, and it seems to work!
onTouchEnd={() => {
this.onTouchEnd(
provided.draggableProps.onTransitionEnd
);
}}
onTouchEnd(onTransitionEnd) {
const { toggleIsDragging } = this.props;
if (onTransitionEnd) {
setTimeout(() => {
onTransitionEnd({
propertyName: 'transform',
});
}, 330);
} else {
toggleIsDragging(false);
}
}
It looks ugly, but it solves my problem.
Yes please! How can i do this? Please!