Skip to content

[Bug] Sidemenu‘s AutoSelect didn't work in some cases. #997

@kxxt

Description

@kxxt

Describe the bug
Sidemenu's AutoSelect feature didn't work in some cases.
在部分情况下,AutoSelect 失效

To Reproduce
Steps to reproduce the behavior:

  1. 点击 SideMenu 的 主页按钮(见下图)(此按钮无子项)
  2. 点击 SideMenu 的 合同审查按钮,此时 AutoSelect 生效,自动选择了首项,对话框显示
  3. 再点击 SideMenu 的 主页按钮
  4. 再点击 SideMenu 的 合同审查按钮,AutoSelect 失效,虽然显示效果上选中了首项,但是没有触发 SelectionChanged 事件,对话框没有显示。

Expected behavior
A clear and concise description of what you expected to happen.
AutoSelect 功能正常工作,能够在所有情况下都触发 SelectionChanged 事件
Screenshots
If applicable, add screenshots to help explain your problem.
bug-x2

Environment (please complete the following information):

  • .net: 5.0
  • IDE vs2022
  • Version 3.2.0

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions