Questions tagged [vue-infinite-loading]

10 questions
4
votes
1 answer

How to reset a vue-infinite-loading element?

I have a list of Exhibits. The user can add exhibits. When the user adds exhibits, vue-infinite-loading does not pick up the change in the number of exhibits, so it says "End of List" even though there are more to show. Here's a Code Pen. Note: I…
Travis Heeter
  • 13,002
  • 13
  • 87
  • 129
3
votes
1 answer

Keep current list of data before replace by up coming list of data Vuejs and vue-infinite-loading

I would like to keep a list of data before another up coming list of data replaced. I'm using this plugin in my vuejs project: https://peachscript.github.io/vue-infinite-loading to loading more data. Scenario: Reload to get list of data by calling…
CHHUM Sina
  • 435
  • 5
  • 13
2
votes
0 answers

vue infinite loading TypeError: cannot read property 'loaded' of undefined

I am using vue-infinite-loading. I followed their documention. but don't understand. what are $state , $state->loaded(),$state->complete(); Below image is the error i am facing. fetchReviews($state){ var vm = this; …
weaver
  • 453
  • 1
  • 8
  • 21
1
vote
2 answers

How to use "Vue-infinite-loading" in nuxt without loading data by axios?

I am working on a Nuxt app. For one of my dynamic pages I want to show data with infinite scrolling. For that purpose I decided to use Vue-infinite-loading. I read this article and also skimmed the documentation of Vue-infinite-loading. In both of…
hamid-davodi
  • 1,602
  • 2
  • 12
  • 26
1
vote
1 answer

How to use InfiniteLoading in vuex (error)

I'm a beginner to vuex and vue, I need to use a infinite-loading in vuex project, but it is not working, I need some experts' help. I will provide details as below: my vuex code in index.js import axios from 'axios'; const state = { …
behzad
  • 11
  • 2
1
vote
1 answer

Vue infinite loading with axios is skipping the page 2

I am using vue infinite load to get comments from a local api. In the network tab on google chrome tools my page requests should load as follows: 101?page=1 101?page=2 101?page=3 101?page=4 But really what is happening is I'm getting duplicate of…
user3325126
  • 1,284
  • 4
  • 15
  • 36
0
votes
0 answers

Vue infinite loader triggers @infinite method recursively

Using Vue2 and Vuetify, I'm placing infinite-loader(from vue-infinite-loading library) component inside v-tab-item. I want to make it work with the native browser scroll (body scroll). Similar to this demo
papryk
  • 442
  • 4
  • 14
0
votes
2 answers

vue infinite load duplicate content issue

i install vue infinite loading for my chat app (backend laravel), everything is work now but if data respone from server contain something like a image or file, it seem to be load again and again like my image highlight bellow, correct the pic is…
Duc Pham
  • 19
  • 7
0
votes
1 answer

Vue-infinite-loading reactivity

I'm using vue-infinite-loading on Nuxt and works great. The problem is that if one of the items is modified, it won't be refreshed on the screen until reloading (for instance, changing the identifier). Is there any way or consideration to make it…
Nelson La Rocca
  • 173
  • 1
  • 9
0
votes
2 answers

Javascript array issue with vue-infinite-loading

I am trying to implement Infinite Loading using vue-InfiniteLoading component. I am getting an array everytime I scroll and I try to push the contents from the array to another array when I get the data. When I used push, I see new elements on…
Rasim AVCI
  • 133
  • 2
  • 4
  • 11