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

Drop (copy) to different tree causes: Invariant Violation Expected to find a valid target

Open
#473 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

First things first: _Thank you for this amazing component._
# Steps to reproduce
* Load https://codesandbox.io/s/p998rpv7q
* Tick **shouldCopyOnOutsideDrop**
* Don't expand **Node 3** on the left tree (can occur at times when expanded as well)
* Drag **Node 3** from left tree and drop it as first child of **a1** right above **a1.1**

![Capture](https://user-images.githubusercontent.com/10064678/55872642-5ff23e80-5b85-11e9-8b26-81229b4aa196.PNG)

This is only one of the many ways this issue can be reproduced. Not sure what is actually causing it.

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.