kutlugsahin/react-smooth-dnd

Placeholder not working

pravinharigaikwad opened this issue · 2 comments

Hey @kutlugsahin ,

I was trying to add a placeholder feature to my editor but it seems not working in my code but it's working smoothly in cardboard & your provided URL: https://codesandbox.io/s/4xk3yl8247?fontsize=14
Added same properties in the code as shown in the document? Please help?

@pravingkd6 I had the same problem as you. It was a css rule I was overriding:

.smooth-dnd-draggable-wrapper.animated {
  transition: none !important;
  transform: none !important;
}

Deleting these rules fixed my issue and the placeholder appears.

Hey @aronerben ,
Actually that placeholder div is not creating in DOM while dragging.