react-arborist icon indicating copy to clipboard operation
react-arborist copied to clipboard

`dragIds` is always empty in `renderDragPreview`

Open goliney opened this issue 5 months ago • 0 comments

I have a custom renderDragPreview component. If I drag a selection, I want it to show the number of dragged items.

My assumption was dragIds prop can help with the task. But it's always empty: [].

https://github.com/brimdata/react-arborist/blob/3cee71c318c8cb1c3c490ffa977c1b6d2f0264d2/modules/react-arborist/src/components/drag-preview-container.tsx#L22

goliney avatar Sep 11 '24 20:09 goliney