Skip to content

Updating items only updates on scroll #15

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

Open
jamesbirtles opened this issue May 8, 2018 · 2 comments · May be fixed by #52
Open

Updating items only updates on scroll #15

jamesbirtles opened this issue May 8, 2018 · 2 comments · May be fixed by #52
Labels
bug Something isn't working

Comments

@jamesbirtles
Copy link

Trying to make an infinite scrolling list using this, but when at the bottom and I add more items, the list can't be scrolled further down without first scrolling back up.

When I comment out this line, it works perfectly

if (newStart === start && newEnd === end) return;

@Rich-Harris Rich-Harris added the bug Something isn't working label May 11, 2018
@hperrin
Copy link

hperrin commented May 23, 2018

+1

@gitbreaker222
Copy link

hi @UnwrittenFun

as far as I can tell from the virtual-list I've written, this issue has been fixed in the mean time. Can you confirm?

https://svelte.dev/repl/6b3f6543c71f4f2bb579721691ba4261?version=3.20.1

  • click "more songs" until list overflows
  • scroll to bottom
  • click "more songs"
  • => the list-height-overflow below should grow and the list beeing able to scroll down to new items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants