react-arborist
react-arborist copied to clipboard
Add preview ref api for Node
trafficstars
Issues
One of the phenomena of Chrome browsers on Mac is that outside the DND range, the Drag or Drop event will be delayed by 250ms, because to play the animation, react-DND uses preview(getEmptyImage()); . Going to overlay causes a problem: it looks stuttering

So the default preview was removed, the default preview was changed to react-dnd's preview, and the preview interface was exposed

This feature only affects the default effect
This does look much better! I'm not as familiar with the drag and drop api. How would you style the drag preview?