react-resizable-rotatable-draggable icon indicating copy to clipboard operation
react-resizable-rotatable-draggable copied to clipboard

Avoid unintentional move on clicking

Open maxlk opened this issue 5 years ago • 0 comments

This PR fixes issue when drag starts when the user clicks on an object. The issue is fixed by adding drag thresholds both distance and time:

  • dragStartThreshold with default value 3px
  • dragStartTimeThreshold with default value 1000ms

maxlk avatar Nov 03 '20 10:11 maxlk