Skip to content

infiniteHandler doesn't trigger initial loading on mobile portrait screens #84

@Dagge11

Description

@Dagge11

The v3-infinite-loading works normally on a Desktop screen size and mobile landscape screen orientation. But on mobile portrait orientation, it doesn't initially load items (the array with downloaded items is empty). When I re-load the mobile screen it loads normally and the array is filled with items.

What can be the cause of this? I experimented with setTimeout() method in mounted() lifecycle hook, delaying execution 10-20ms by triggering re-load with changing identifier - it works then but sometimes it loads items twice so I have a double number of the same items in the array. This is obviously not an acceptable solution. I am otherwise satisfied with this module but this I believe should be solved somehow.

Thanks for your contribution!
Dagg

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