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

Stack overflow when scrolling ListBox with changing content #7706

Closed
ahopper opened this issue Feb 25, 2022 · 2 comments · Fixed by #11233
Closed

Stack overflow when scrolling ListBox with changing content #7706

ahopper opened this issue Feb 25, 2022 · 2 comments · Fixed by #11233
Labels

Comments

@ahopper
Copy link
Contributor

ahopper commented Feb 25, 2022

Describe the bug
When scrolling a ListBox and the content is changed in code at the same time a stack overflow results

To Reproduce
Run this https://github.com/ahopper/ListBoxScrollStackoverflowRepro and scroll the listbox continuously, after 8s the overflow will probably happen

Expected behavior
No stack overflow.

Desktop (please complete the following information):

  • OS: Windows
  • Version 0.10.12 and 0.10.999-cibuild0018930-beta
@ahopper ahopper added the bug label Feb 25, 2022
@ahopper
Copy link
Contributor Author

ahopper commented Feb 25, 2022

The same thing happens if the ListBox is replaced with

<ScrollViewer>
	<ItemsControl Items="{Binding Stuff}"/>
</ScrollViewer>

@grokys
Copy link
Member

grokys commented May 4, 2023

Partially fixed by #9677: stack overflow is gone but now the ScrollBar gets stuck.

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

Successfully merging a pull request may close this issue.

2 participants