MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
When the TreeListView expands too much content, scrolling to the top will shrink the content
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 16.3k
- Forks
- 3.5k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 8
Description
### Bug explanation
When using the TreeViewList control, if too much data is expanded, scrolling to the top will automatically collapse all content, and it cannot maintain the expanded state.
I thought it was my own problem, the same issue occurred during the demo attempt.

### Version
5.1.0
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 issue in the TreeViewList control using enough expanded data to require scrolling, then scroll to the top and observe whether the expanded state is lost. Trace the control's scrolling and expansion behavior in the demo or relevant TreeListView implementation; done means expanded content remains expanded after scrolling to the top.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100