kutlugsahin / react-smooth-dnd

react wrapper components for smooth-dnd
MIT License
1.71k stars 142 forks source link

Placeholder not working #51

Open pravinharigaikwad opened 5 years ago

pravinharigaikwad commented 5 years ago

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?

aronerben commented 4 years ago

@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.

pravinharigaikwad commented 4 years ago

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