Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Identifier change triggers reload twice #76

Open
Dagge11 opened this issue Sep 6, 2023 · 1 comment
Open

Identifier change triggers reload twice #76

Dagge11 opened this issue Sep 6, 2023 · 1 comment

Comments

@Dagge11
Copy link

Dagge11 commented Sep 6, 2023

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>
@jayel74
Copy link

jayel74 commented Dec 24, 2023

Same problem here

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

No branches or pull requests

2 participants