tajo / react-movable

🔀 Drag and drop for your React lists and tables. Accessible. Tiny.
https://react-movable.pages.dev
MIT License
1.55k stars 51 forks source link

Ghost element changing dragged component CSS #37

Closed arturbani closed 4 years ago

arturbani commented 4 years ago

Hi! I saw that ghostStyle has display: block. This changes the dragged element CSS if it is using, for example, display: flex (my case).

Any thoughts on maybe making this an optional prop? I'm happy to contribute if it makes sense for the lib!

tajo commented 4 years ago

Any thoughts on maybe making this an optional prop?

Yea, it's probably not necessary.

I'm happy to contribute if it makes sense for the lib!

Sure, thanks!