Thank you for your wonderful library, minop-san, it has helped me a lot!
I'd like to implement a feature, like chrome's bookmark manager, that drags a bookmark on the right into a folder on the left, and highlights only that folder, not including the subfolders.
For example, after I expand the "ff" folder, I would like to drag and drop the G bookmark inside the "ff" folder, I want the only thing highlighted is the "ff" folder itself, not include the subfolder "test-empty".
But the examples I could find were highlighting areas that included subfolders.
I studied the dom structure and found that at this point the entire Folder1 and its subfolders are wrapped by the li with class *_dropTarget.
And after I comment the dropTarget in Tree classes, I found li with class=*_dropTarget. is replaced by regular li
My thought is is there is a callback to let me change the css of the drop target item when starting to drop?
Thank you for your wonderful library, minop-san, it has helped me a lot!
I'd like to implement a feature, like chrome's bookmark manager, that drags a bookmark on the right into a folder on the left, and highlights only that folder, not including the subfolders.
For example, after I expand the "ff" folder, I would like to drag and drop the G bookmark inside the "ff" folder, I want the only thing highlighted is the "ff" folder itself, not include the subfolder "test-empty".
But the examples I could find were highlighting areas that included subfolders.![CleanShot 2023-12-15 at 22 18 02](https://github.com/minop1205/react-dnd-treeview/assets/6650776/cedde50b-bde7-4be3-bd66-ef481a335ec5)
I studied the dom structure and found that at this point the entire Folder1 and its subfolders are wrapped by the li with class *_dropTarget.
And after I comment the![CleanShot 2023-12-15 at 22 57 12](https://github.com/minop1205/react-dnd-treeview/assets/6650776/dd76563a-e49f-457f-bc47-170a4ea7d7f7)
dropTarget
inTree classes
, I foundli
withclass=*_dropTarget.
is replaced by regularli
My thought is is there is a callback to let me change the css of the drop target item when starting to drop?