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

ItemsRepeater behaves erratically when adding items to front of list #4

Open
mike-ward opened this issue Jan 22, 2021 · 3 comments
Open
Labels
bug Something isn't working

Comments

@mike-ward
Copy link

https://github.com/mike-ward/demoscroll

DemoScroll is a minimal Avalonia desktop application that demonstrates undesirable scrolling behavior.

What it does:

  • Constructs a window that contains an ItemsRepeater
  • Fills a list with sample text that is bound to the ItemsRepeater.
  • Starts a 2 second timer and inserts sample text to the front of the list.

What it demonstrates:

  • Text will start disappearing the moment new text is added by the timer.
  • Grab the scrollbar thumb and move up and down. Application will stop drawing and otherwise behave erratically.

Desktop (please complete the following information):

  • OS: Microsoft Windows [Version 10.0.19042.746]
  • Version 0.10

Additional context
Related to AvaloniaUI/Avalonia#5151

@mike-ward
Copy link
Author

mike-ward commented Jan 25, 2021

#2 may also be related.

@grokys
Copy link
Member

grokys commented Jan 27, 2021

I'm guessing that we need to port microsoft/microsoft-ui-xaml#3699 to fix this.

@maxkatz6
Copy link
Member

@grokys is was already ported
AvaloniaUI/Avalonia#5203

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

No branches or pull requests

3 participants