MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

When the TreeListView expands too much content, scrolling to the top will shrink the content

Open
#3,640 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug evaluation required
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.
![1](https://github.com/user-attachments/assets/8e564c65-ac6a-4e19-ae27-bb8e5d996232)

### Version

5.1.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.