vue-infinite-loading icon indicating copy to clipboard operation
vue-infinite-loading copied to clipboard

fix #254:

Open kvanska opened this issue 5 years ago • 3 comments

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

kvanska avatar Jun 27 '19 12:06 kvanska

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

PeachScript avatar Dec 13 '19 02:12 PeachScript

Hey @PeachScript any updates on this fix?

cain avatar Mar 11 '20 04:03 cain

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/

Zac-Zajdel avatar Nov 15 '23 14:11 Zac-Zajdel