Open fatnjazzy opened 6 years ago
I found the very same problem. When I wrap smooth-dnd-draggable
content inside a component, some of the properties of smooth-dnd-container
doesn't work. In my case, [dragClass]
, [dropClass]
, (dragStart)
and (dragEnd)
are the properties that doesn't work with component wrapping. I don't test all the properties, but at least (drop)
and [lockAxis]
work as expected.
If I put smooth-dnd-draggable
content on the same component that smooth-dnd-container
, every property work as a charm.
PS: You've done an amazing job, thank you and congrats!
Hi. When using a sub component that is wrapping
smooth-dnd-draggable
the drop event is not triggered. But, if you putsmooth-dnd-draggable
directly undersmooth-dnd-container
it is working. So, the bellowapp-draggable
will not trigger the onDrop inside id.Is this as designed? Thanks