frontend-collective / frontend-collective/react-sortable-tree-theme-full-node-drag

The prop listIndex is marked as required in CustomThemeNodeContentRenderer

Open
#2 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
38
Forks
55
PR merge metrics
No merged PRs in 30d

Description

When I use the provided examples in combination with this theme I receive the errors in the console (see screenshot). The controls appear to work correctly although I'm not 100% sure there isn't an unforeseen issue.

![image](https://user-images.githubusercontent.com/3377341/34255843-9b776516-e6a6-11e7-9de9-356abe40642c.png)

In any case, adding `listIndex` and `lowerSiblingCounts` to the declaration appears to have resolved the errors but I'm still raising this as an issue to allow others to find a potential solution and also validation that I haven't unknowingly broken internal functionality.

```jsx

```

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.