Information
- OS: Windows
- Version: 0.46.1-preview.0.5
- Terminal: cmd.exe
Describe the bug
The following code:
var root = new Tree("root") { Expanded = false };
root.AddNode("node1");
root.AddNode("node2");
AnsiConsole.Render(root);
has the same behavior as if Expanded is set to true (which is default).
To Reproduce
Use provided code.
Expected behavior
Nodes node1 and node2 should not be rendered. Only root should be visible.
Screenshots

Please upvote 👍 this issue if you are interested in it.
Information
Describe the bug
The following code:
has the same behavior as if
Expandedis set totrue(which is default).To Reproduce
Use provided code.
Expected behavior
Nodes
node1andnode2should not be rendered. Onlyrootshould be visible.Screenshots

Please upvote 👍 this issue if you are interested in it.