rodrigogs / barracao-digital

Sistema de gerenciamento de fila virtual para os barracões de atendimento do COVID-19
https://barracaodigital.com
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

Fix bug with infinite scrolling #38

Closed kuroski closed 4 years ago

kuroski commented 4 years ago

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:

image

gif

kuroski commented 4 years ago

More people are complaining regarding this in this link: https://github.com/PeachScript/vue-infinite-loading/issues/254

There is an actual fix, but its still not merged since 2019: https://github.com/PeachScript/vue-infinite-loading/pull/255

kuroski commented 4 years ago

Issue was fixed in the commit: 3f441fa5740952daff05ea5f4cfb439948a823a4

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.