symfony-collection icon indicating copy to clipboard operation
symfony-collection copied to clipboard

small change for sortable

Open zatorck opened this issue 6 years ago • 1 comments

Hi,

Thanks for very usefull bundle. I had some troubles when I was using sortable options, becouse accidental mini-dragging buttons and inputs, made my whole container dragging, and I was unable to continue with clicking (eg. for adding item). We need very little change to adding to sortable options cancel: 'input, a' with adding this to line 869 things go very, very good.

Regards

zatorck avatar Apr 15 '18 21:04 zatorck

Hi there,

Did you try to use the drag_drop_options option?

Something like:

drag_drop_options: {
   cancel: 'input, a'
},

Cheers

ninsuo avatar Apr 17 '18 05:04 ninsuo