Skip to content

Tree component: multiple items at the root level #24

@Gee-Bee

Description

@Gee-Bee

It looks like the tree component could only build trees with one root node.

image
"School Activities" in examples.

In my use case I need to build a tree with multiple items at the root level.
Deque University has such an example: https://dequeuniversity.com/library/aria/tree-view
image

I tried to workaround the issue, placing multiple components one under another:

<Tree>...</Tree>
<Tree>...</Tree>

but this does not produce a valid tree structure and I lost the ability to move around the root nodes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions