Possibility to wrap FluentTreeItems in a <div>? #2489
Answered
by
dvoituron
sahra-marie
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
dvoituron
Aug 7, 2024
Replies: 1 comment
-
Unfortunately, I don't think there's anything we can do. This seems to be a limitation of the WebComponents currently in use. <fluent-tree-view>
<fluent-tree-item>One</fluent-tree-item>
<fluent-tree-item>Two
<fluent-tree-item>A</fluent-tree-item>
<fluent-tree-item>B</fluent-tree-item>
</fluent-tree-item>
</fluent-tree-view>
<hr />
<fluent-tree-view>
<fluent-tree-item>One</fluent-tree-item>
<fluent-tree-item>Two
<div>
<fluent-tree-item>A</fluent-tree-item>
<fluent-tree-item>B</fluent-tree-item>
</div>
</fluent-tree-item>
</fluent-tree-view> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sahra-marie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, I don't think there's anything we can do. This seems to be a limitation of the WebComponents currently in use.
The first example is well displayed (by
div
) but the second doesn't render correctly.