Infinite scrolling problems after reloading the remote store
I have been working with infinite scrolling for a while with version 4.2.1 and I have noticed some strange behaviour when I perform store.reload() using a remote store. The errors I find are sometimes "PageMap asked for range which it does not have" and other times just get blocked with the icon loading and you can not continue working, the thing is that this happen randomly.
I migrated to version 184.108.40.2066 and the problem about the "PageMap asked for range which it does not have" has almost desapeared but I found another problems which are when you scroll quickly to the last page and invokes the store.reload() and the result from the server has changed for example different total count because there are serveral new rows, in this case I get sometimes "Uncaught TypeError: Cannot read property 'length' of undefined" and other times it just loads correctly but scroll to the first page.
I wonder if someone in the community has encountered the same problems because for me I can not trust on the store.reload() method and if there is a workaround to avoid using this method and loads the correct pages in a buffered stored with infinite scrolling.
I couldn't find reports of that exact situation, but I can tell you there have been a considerable amount of bug fixes since 220.127.116.116, so you might try your code against the latest (18.104.22.1687) and see if you can still reproduce.
Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: email@example.com