hotwax / facilities

App to manage facilities
Apache License 2.0
1 stars 7 forks source link

When scrolling the page where infinite scroll is used, the page displays empty state if api fails while loading more data #241

Closed ymaheshwari1 closed 4 months ago

ymaheshwari1 commented 5 months ago

Current behavior

When scrolling the page where infinite scroll is used, the page displays empty state if api fails while loading more data.

This issue can be generated on all pages when inifinite scroll is implemented.

Expected behavior

The previously loaded data should not be cleared if a corresponding api fails.

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

Environment details

Additional information

Reference Issue: https://github.com/hotwax/users/issues/211

Adameddy26 commented 4 months ago

Issue verified and working fine in release v1.6.1. Hence, closing this ticket. https://jam.dev/c/3d4c8f2e-8397-498e-a8c6-1d5d0ad8705f