Skip to content

Infinite loading is buggy on Nuxt SSR #315

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
akashrajum opened this issue Jul 12, 2021 · 3 comments
Open

Infinite loading is buggy on Nuxt SSR #315

akashrajum opened this issue Jul 12, 2021 · 3 comments

Comments

@akashrajum
Copy link

Version

"vue-infinite-loading": "2.4.5",

Nuxt version

Nuxt: "2.15.7",

Steps to reproduce

https://app.usebubbles.com/eztqeMmdTtmfSLBrxRpDBD/infinite-scroll-bug-on-nuxt-ssr

What is Expected?

For it to work consistently

What is actually happening?

Not working consistently

@akashrajum
Copy link
Author

Anyone coming across this, I solved it using - https://github.com/forked-prs/nuxt-infinite-scroll-module

@Kolobok12309
Copy link

Also can use vue-infinite-loading/src/components/InfiniteLoading directly

@imzedi
Copy link

imzedi commented Oct 20, 2021

Use client only because it will require document that is not available on SSR

<client-only>
      <infinite-loading @infinite="infiniteHandler">
      </infinite-loading>
</client-only>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants