bevacqua / dragula

:ok_hand: Drag and drop so simple it hurts
https://bevacqua.github.io/dragula/
MIT License
21.89k stars 1.97k forks source link

tow questions and a bug report #704

Open tianfan007 opened 6 months ago

tianfan007 commented 6 months ago

first question: in line 199 of the source code,there is a commentary"don't drag container itself". if I delete this "if" judgment,are there have hidden dangers? second question:the "direction" default is vertical,another option is horizontal. why the Dragula is necessary must to choose one of them.If I want to triger the drag actions freely,how to do it.

if I drag a form element,just like "button","select","textarea" and so on ,an error occurred:Duplicate form field id in the same form