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

Expander Content With ItemsRepeater Rendering Bug #9337

Open
wky214269273 opened this issue Feb 15, 2024 · 1 comment
Open

Expander Content With ItemsRepeater Rendering Bug #9337

wky214269273 opened this issue Feb 15, 2024 · 1 comment
Labels
area-ItemsRepeater bug Something isn't working team-Controls Issue for the Controls team

Comments

@wky214269273
Copy link

Describe the bug

I use the Expander control and encapsulate an itemsRepeater in Content to display a large amount of data (about a few hundred items). When I first expand the Expander control, the content can be displayed correctly, but when I fold it up and expand it again, it becomes a blank space that requires a mouse click or scroll to display. I guess it may be a virtualization issue that caused the rendering to fail. Is there a solution to this problem?

Steps to reproduce the bug

1、Create an Expander Control,And the content contains an ItemsRepeater
2、Fill a large amount datas in this ItemsRepeater
3、Expand the Control -> Collapsed Control -> Expand the Control

Expected behavior

ItemsRepeater can show data correctly

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.4.5: 1.4.240411001

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@wky214269273 wky214269273 added the bug Something isn't working label Feb 15, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Feb 15, 2024
@codendone codendone added area-ItemsRepeater team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Feb 22, 2024
@lhecker
Copy link
Member

lhecker commented Apr 30, 2024

I just hit this bug while working on Windows Terminal. That was not the most pleasant surprise for sure! As a workaround I'm using a ListView inside my ScrollView now, which obviously is not a great alternative, but it does work (until this issue is fixed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ItemsRepeater bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants