Skip to content

fix #254: #255

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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/

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

Successfully merging this pull request may close these issues.

4 participants