frontend-collective / frontend-collective/react-sortable-tree

[QUESTION] Tree to tree dragging - apply different styles

Open
#218 0 comments 1 reaction 0 assignees View on GitHub
enhancement question
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

Hello, I would like apply different styles when tree-to-tree dragging. You can imagine case when first tree consists of screens and second of tags. Tag should be assigned to screen using different animation.

I have experimented with callback `generateNodeProps`, that can render additional node fields. So I tried to pass component SortableTree, however these recursive approach will not render child component.

Do you have any suggestions?
Thank you

![new project](https://user-images.githubusercontent.com/8297716/34156930-9e7b35f0-e4bf-11e7-94ce-e45760130f02.jpg)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.