-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Padding is buggy #272
Comments
Padding is always unintentionally buggy. header/footer div approach like other libraries might be better. |
I'm working with a chat-like app (reverse-scroll, infinite load from the top). I was looking at padding to solve two problems:
So I guess for my purposes, a solution to #163 would give me what I need. In the meantime, I suppose I'll need to find a new place in the UI to indicate loading that isn't inside the list itself. |
Thank you for the information. I'll check if it's possible. |
@mattwondra I feel that this lib needs stable way to add padding/header/footer. However it may take time because there are several things to consider. |
Incomplete padding support was dropped from Workaround like #272 (comment) works for now but it may be dropped in the future. |
Describe the bug
Adding padding to the
VList
is broken in a couple ways:1. When scrolling down items at the top of the list can momentarily disappear
100
to10
so each item is smalleroverscan
doesn't seem to have any impact2. Padding messes up scrolling to end of the list
paddingTop: 100
paddingBottom
reverse
scrollTo(99999)
for pixel-specific scroll positionscrollTo
andscrollToIndex
should behave the same whether or not the VList has padding3. Padding on short list adds unnecessary scrollbars
paddingTop: 100
paddingBottom
reverse
To Reproduce
Listed above.
Expected behavior
Listed above.
Platform:
The text was updated successfully, but these errors were encountered: