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

v2.8.0 breaks my tree (tree does not display at all)

Open
#782 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

Hello,

Minor version upgrade 2.8.0 broke my tree.

JSX did not change, component props and state are the same, but the tree completely disappears with 2.8.0, when it worked fine with 2.7.1.

**Expected Behavior**
Site tree displays properly with react-sortable-tree@2.8.0 as well as react-sortable-tree@2.7.1

**Current Behavior**
Site tree displays with react-sortable-tree@2.7.1, **not** with react-sortable-tree@2.8.0

**SETUP**

**JSX**
```jsx



{treeData && (

)}


```

**RESULTS**

**React Component tab**
v2.7.1:
![image](https://user-images.githubusercontent.com/21168856/90876276-a9ba7e00-e3a2-11ea-9ed9-44bb1b89a0b3.png)

v2.8.0:
![image](https://user-images.githubusercontent.com/21168856/90876538-1766aa00-e3a3-11ea-975e-a29b042bfc20.png)

**html**
v2.7.1:
![image](https://user-images.githubusercontent.com/21168856/90877288-1eda8300-e3a4-11ea-907b-63d6c04afd35.png)

v2.8.0:
![image](https://user-images.githubusercontent.com/21168856/90877214-feaac400-e3a3-11ea-83b6-c60bfcd03268.png)

Only solution for now is to force 2.7.1 version.

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.