react-sortable-hoc icon indicating copy to clipboard operation
react-sortable-hoc copied to clipboard

Button tag inside SortableElement not draggable

Open drozdza opened this issue 5 years ago • 2 comments

drozdza avatar Sep 17 '20 10:09 drozdza

when button tag is used as draghandler everything stops working without giving any warning or error. It was difficulty to debug. can someone please tell me the reason behind it?

shivakantshukla55 avatar Jan 27 '21 19:01 shivakantshukla55

Look for shouldCancelStart option. Here is the default value - https://github.com/clauderic/react-sortable-hoc/blob/d94ba3cc67/src/SortableContainer/defaultShouldCancelStart.js

viczam avatar Aug 08 '21 01:08 viczam