Scrollbar is not stopping at the bottom of the view #429
|
Hi, floem_scroll_issue.mp4Here is the example repository: Any ideas what I'm doing wrong here? Is #428 somehow related? |
Answered by
dominikwilkowski
Apr 27, 2024
Replies: 1 comment 3 replies
|
This looks like you are using a virtual list. When using a virtual list you need to tell the virtual list the size of each element. If the scroll bar isn't ending at the bottom it's probably because you are passing in the incorrect height to the virtual list |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Just found this. Note that this example was fixed in #430
The height must have shifted since I wrote this example and now I explicitly fix the height for each item which makes sure this works even if things shift further down the line.
You can see the height of each item was was off by one pixel with the inspector btw. So if this happens again in your own code just inspect the item and make sure what you tell the
v_stackorvirtual_listis the correct height.