Skip to content
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

fix #254: #255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix #254: #255

wants to merge 1 commit into from

Conversation

kvanska
Copy link

@kvanska kvanska commented Jun 27, 2019

sometimes when using nuxt the elm.parentNode is null and vue-infinite-loading makes error

this is a simple fix to set scrollparent to window if elm.parentNode is null

#254

@PeachScript
Copy link
Owner

@kvanska thanks for your PR! I have no experience to use Nuxt.js, can we not get correct body element when using it?

@cain
Copy link

cain commented Mar 11, 2020

Hey @PeachScript any updates on this fix?

@Zac-Zajdel
Copy link

Thanks @kvanska this solves my issue.

For anyone out there not working on a Nuxt/Vue 2 repository, I would recommend https://vueuse.org/core/useInfiniteScroll/

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

Successfully merging this pull request may close these issues.

4 participants