-
Notifications
You must be signed in to change notification settings - Fork 1
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 extremely slow #20
Comments
please attach or link a very minimal sample to reproduce. Thx. |
I've had something similar occur when two controls from two adjacent rows in the ItemsRepeater were touching. Specifically Buttons that took up the full height of their row. Try adding small margins to the outermost layout elements and see if that fixes the cycles. Specifically the outermost layout elements of the controls:SettingsExpander |
@IanRawley interesting. Probably you can share a sample of your edge-case? Then we can investigate it further. |
Seems to be caused by |
Sorry, it was a while back and I don't have the code any more, or remember enough about the specifics to confidently reproduce it. It was also part of my first attempt at a custom control having just started using Avalonia, so no doubt there were many more issues contributing to it. I just remember that adding margins to a button in the datatemplate solved all my layout cycles. |
Hey @timunie, @amwx believes it's an Avalonia issue after all. Could you check it? I made a minimal repro. |
minimal repro is in deed often useful. We can add it to samples/Sandbox and maybe debug it. |
Describe the bug
Even with ~20 items, ItemsRepeater takes a few seconds to scroll.
To Reproduce
Desktop (please complete the following information):
Additional context
Debug output constantly shows
The text was updated successfully, but these errors were encountered: