-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
ListBox virtualization with smooth scrolling. #1909
Comments
@x2bool You're welcome to file an PR for that smooth-scroll virt 😄 I think either |
I've made a sloppy, hacky, proof-of-concept implementation. It works by shifting the virtual items panel up/down to simulate scrolling "in between" items. I wouldn't put this code directly into Avalonia, since it probably follows none of Avalonia's recommended patterns. It's just to throw an idea out there for how an implementation would work. https://gist.github.com/ashelleyPurdue/c81fcb706079d4736c20380c067c5156 |
@ashelleyPurdue I think this is already solved by @grokys 's |
Even better! |
I'm going to close this issue and track the transition to |
Right now Avalonia provides only two virtualization methods: None and Simple. The first one provides ablility to scroll smoothly but does not virtualize items. It would be nice to have third option with smooth scrolling and virtualization.
Theoretically views like this exist in other GUI frameworks: an example would be Android's RecyclerView.
The text was updated successfully, but these errors were encountered: