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

Issue with when scrolling a ListBox/VirtualizingStackPanel when hidden #15194

Open
timunie opened this issue Apr 2, 2024 Discussed in #15188 · 2 comments
Open

Issue with when scrolling a ListBox/VirtualizingStackPanel when hidden #15194

timunie opened this issue Apr 2, 2024 Discussed in #15188 · 2 comments
Labels

Comments

@timunie
Copy link
Contributor

timunie commented Apr 2, 2024

Note

Also reproduces using 11.1.0-beta

Discussed in #15188

Originally posted by BobLd March 31, 2024
I originally posted this question on the Telegram channel and was advised to create a Q&A.

It seems there's an issue with ListBox (due to VirtualizingStackPanel I think) when scrolling the list while it is hidden. I've created a minimum app that reproduces the issue, available here https://github.com/BobLd/VirtualizingStackPanelDuplicatesIssue

To replicate the issue:

  1. Click the Scroll down button to scroll down the listbox while it is not visible
  2. Click Toggle Menubar to show the list box
  3. Get the messy result:

image

I originally encountered the problem in https://github.com/BobLd/Caly/tree/develop-menubar

@BobLd
Copy link
Contributor

BobLd commented Nov 9, 2024

@timunie do you know if there are any plans to fix that? I'm happy to investigate the issue but would need some pointers...

@timunie
Copy link
Contributor Author

timunie commented Nov 9, 2024

@BobLd I think I would add some Debug.WriteLine in VirtualizationStackPanel and friends to find out what's going on. Also lookup related PRs from earlier fixes of @grokys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants