Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeView does not set the IsExpanded property to false when removing the last child node #2332

Closed
zhuxb711 opened this issue Apr 24, 2020 · 1 comment · Fixed by #2449
Closed
Labels
area-TreeView help wanted Issue ideal for external contributors team-Controls Issue for the Controls team

Comments

@zhuxb711
Copy link
Contributor

zhuxb711 commented Apr 24, 2020

Describe the bug
TreeView does not set the IsExpanded property to false when removing the last child node.

Logically speaking, if there are no child nodes in the TreeView, then the IsExpanded property should be automatically set to false instead of keeping the current value unchanged

Expected behavior
set the IsExpanded property to false when removing the last child node

Screenshots

Version Info

NuGet package version:

Windows 10 version Saw the problem?
Insider Build (xxxxx)
November 2019 Update (18363) Yes
May 2019 Update (18362)
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Mobile
Xbox
Surface Hub
IoT

Additional context

@msft-github-bot msft-github-bot added the needs-triage Issue needs to be triaged by the area owners label Apr 24, 2020
@ranjeshj ranjeshj added area-TreeView help wanted Issue ideal for external contributors team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Apr 24, 2020
@ranjeshj ranjeshj added the needs-cherrypicktorelease PR tagged for cherry-pick to the current release branch (but not yet picked) label May 20, 2020
@msft-github-bot
Copy link
Collaborator

🎉This issue was addressed in #2449, which has now been successfully released as Microsoft.UI.Xaml v2.4.3.:tada:

Handy links:

@ranjeshj ranjeshj removed the needs-cherrypicktorelease PR tagged for cherry-pick to the current release branch (but not yet picked) label Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TreeView help wanted Issue ideal for external contributors team-Controls Issue for the Controls team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants