model.canLoadMore not updating
See original GitHub issueWhen a filter on the model (e.g. a live updating search function) causes the number of documents in a model to increase, and the total number of documents is so small that the infinityModel
is entirely visible so that the infinity-loader
component is visible, the model.canLoadMore
does not get set to false when there are no more records to load.
E.g.:
{{#infinity-loader infinityModel=model hideOnInfinity=false}}
{{#if model.canLoadMore}}
<p>
Loading
</p>
{{/if}}
{{/infinity-loader}}
If changing a filter so that in order you’ll see:
- 100 results -> fine
- 10 results -> fine
- 1 result -> fine
- 2 results -> not fine. Permanently shows “Loading”
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
model.canLoadMore not updating - - Bountysource
When a filter on the model (e.g. a live updating search function) causes the number of documents in a model to increase, and...
Read more >bootstrap ui modal templateUrl not working - Stack Overflow
I've got a .cshtml view with a section for the modaldialog content. <div data-ng-controller="paymentsOverviewAppCtrl" ng-mvc-pseudoform ng-form ...
Read more >August 2022 - Aconex Support Central
This release is for: People wanting accreditation for their Aconex skills; Package Admins who need to quickly see distribution lists ...
Read more >Getting Started Guide - Oracle Help Center
Let others in your organization consume models created in the data lab, and publish insights to ... BDD does not update or delete...
Read more >Using the Asset Registry | Learn PlayCanvas
We'll also dynamically load a third model that is not preloaded. ... KEY_SPACE)) { if (this.entity.render.asset !== this.b.id) { // update the render ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like this is something we need to fix! Will try and look before the end of the year.
I see! Well give
2.0.3
a try and lmk how it goes!