Skip to content

bug(): TreeView 组件设置激活节点,祖先节点无法正常展开 #8185

Description

@WilliamLiu1997

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

TreeView 组件设置激活节点,祖先节点无法正常展开

Expected Behavior

正常展开祖先节点

Interactive render mode

Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)

Steps To Reproduce

官网Demo复现步骤:

1.打开TreeView组件画面,设置激活节点 Demo
2.当前激活节点选择下拉选项中最后一个SubMenu3,祖先节点正常展开
3.手动折叠SubMenu3的父节点,再在当前激活节点选择下拉选项中选择一个同级节点SubMenu1,这时祖先节点未能正常展开
4.再在当前激活节点设置其它节点,SubMenu3的父节点循环展开关闭

Image

Exceptions (if any)

No response

.NET Version

NET9.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions