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

Identifier change triggers reload twice

Open Dagge11 opened this issue 2 years ago • 1 comments

While the default (first) load upon coming to the page works ok, generating reload by changing the identifier (for example by raising the testNumber by 1 via click event) triggers reload twice and three times in a row. This pattern repeats on every next change of the testNumber, two reloads, three reloads, two reloads, three reloads ..etc. Really weird, that causes me problems on the server side due to the specific code.

Here is my infinite load component:

<infinite-loading @infinite="infiniteHandler" :identifier="testNumber" style="text-align: center; margin-bottom: 5px;">
    <template #complete><span>End of results</span></template>
    <template #error><span>No results</span></template>
</infinite-loading>

Dagge11 avatar Sep 06 '23 08:09 Dagge11

Same problem here

jayel74 avatar Dec 24 '23 15:12 jayel74