microsoft / microsoft/microsoft-ui-xaml
TreeView content entrance animation only runs once
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
When you add some items to a TreeView for the first time, it's entrance animation is triggered and the items slide into position. However if you clear the contents, and then add a new set of items the animation isn't triggered again.
This contrasts with a ListView. Its entrance animation runs each time the list is cleared and new set of items added.
### Steps to reproduce the bug
.
### Expected behavior
A consistent ui experience.
### Screenshots
_No response_
### NuGet package version
WinUI 3 - Windows App SDK 1.6.0: 1.6.240829007
### Windows version
_No response_
### Additional context
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the TreeView behavior in WinUI 3 with Windows App SDK 1.6.0, comparing it with the ListView behavior after clearing and repopulating items. Done means TreeView entrance animation runs again for newly added items after its contents are cleared, consistently with ListView.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100