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

Setting toggleChildrenVisibility to null also hides a line segment

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

Description

```jsx
({
toggleChildrenVisibility: null,
})}
/>
```

I want to disable collapsing nodes (I want them always expanded). The closest I've been able to get that behaviour is by setting `toggleChildrenVisibility` to null, but this prevents the `rst__lineChildren` segment to be rendered, so you end up with a broken line coming down from the parent node. I think that segment should be outside the condition check for `toggleChildrenVisibility`.

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.