-
Notifications
You must be signed in to change notification settings - Fork 23
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
Put together failing test case for egui_virtual_list #38
Comments
This is actually a problem I also had with egui_infinite_scroll (which also supports loading items from the top when scrolling up), and there is a fix for it (although not very pretty):
|
@lucasmerlin oops I just saw this comment. thanks! I will check out that code. it sounds like that's what we need. |
@lucasmerlin I added the call right after I insert data into the list before render, I get this (starts at 5seconds): |
oh I may just need to turn off scroll animations... that makes sense |
Yeah, the scroll animations are the problem. Are you using the latest egui version? You should be able to do ScrollArea::animated to turn them off. |
turning off animations fixed everything! this works great now. amazing. thanks!! |
@lucasmerlin's egui_virtual_list seems to not support adding items to the start of a list in reverse chrononological order. when you scroll up it tends to skip:
https://cdn.jb55.com/s/virtual-list-buggy.mp4
Let's put together a minimal failing test case so that we can investigate this issue.
Alternatively we can look into @mikedilger's approach in gossip.
The text was updated successfully, but these errors were encountered: