You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately,but you can find way to support it .
<div className={'layer-context'}>
<div className={"tree-container"}>
<Tree
paddingLeft={15} // left padding for children nodes in pixels
tree={this.props.layers} // tree object
onChange={this.handleChange} // onChange(tree) tree object changed
renderNode={this.renderNode} // renderNode(node) return react element
/>
</div>);
</div>
`.layer-context{
overflow: hidden;
}
.tree-container{
height:inherit;
overflow: hidden;
position: relative;
top:-19px;
left: -18px;
}`
In this way ,it will render root but root will be hidden。
Attention root must contain element,or dragging will be wrong
Hi, Does it support multiple level-0 nodes?
The text was updated successfully, but these errors were encountered: