vue3-infinite-loading
vue3-infinite-loading copied to clipboard
Identifier change triggers reload twice
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>
Same problem here