Skip to content

Identifier change triggers reload twice #76

@Dagge11

Description

@Dagge11

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions