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

Fix bug with infinite scrolling #38

Closed
kuroski opened this issue Apr 19, 2020 · 2 comments
Closed

Fix bug with infinite scrolling #38

kuroski opened this issue Apr 19, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@kuroski
Copy link
Collaborator

kuroski commented Apr 19, 2020

This bug occurs when we try to open a screen that uses the infinite scroll component, and the user leaves the screen before the promise is fulfilled.

Steps to reproduce:

  • Log in as a doctor
  • Enter in the doctor work-list page
  • As soon as you enter in the screen, leave it before the loading completes
  • After the request is completed, an error will occur:

image

gif

@kuroski kuroski self-assigned this Apr 19, 2020
@kuroski
Copy link
Collaborator Author

kuroski commented Apr 19, 2020

More people are complaining regarding this in this link:
PeachScript/vue-infinite-loading#254

There is an actual fix, but its still not merged since 2019:
PeachScript/vue-infinite-loading#255

@kuroski
Copy link
Collaborator Author

kuroski commented Apr 19, 2020

Issue was fixed in the commit: 3f441fa

But we must keep an eye in the vue-infinite-loading repository for when the owner launch a new version with the fix.

For now, we will rely in a forked version with the fix.

@rodrigogs rodrigogs added the bug Something isn't working label Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants