question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

infinity-loader needs to unhide on model change

See original GitHub issue

The infinity-loader will stop functioning permanently on infinity when hideOnInfinity=true. However, when the model changes and has new content because of a change in filters (similar to #331), the infinity-loader should unhide itself because we’ve no longer reached infinity.

I think a property on the model should be watched inside the infinity-loader helper. Not sure what that property should be, but probably something like isLoaded, isDoneLoading, canLoadMore or something that resets when the model changes.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
snewcomercommented, Jan 18, 2020

Thank you for the issue! What we ultimately need to do is observe reachedInfinity and reset isVisible when it changes to false. #413

One day, we can move away from observers, but for now I think the referenced PR fixes it.

0reactions
Redsandrocommented, Jan 18, 2020

Does this mean we can use the one-liner again without wrapping it in {{#unless model.reachedInfinity}}? That would be great!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Infinity Loader
Infinity Loader. The only GSC Compiler tailored for the IW Engine. Supported across Xbox and PC. Powered by Infinity Loader.
Read more >
Windows Update breaks infinity loader - Beamdog Forums
I have just installed an update to Windows 10. My shortcut to Infinity Loader (Gog installation) disappeared.
Read more >
How To Setup Infinity Loader [Tutorial] - YouTube
How To Setup Infinity Loader [Tutorial]. 8.4K views 3 years ago. Moxah - Modding, Trolling, Glitches & Tutorials. Moxah - Modding, Trolling ...
Read more >
HOW TO PORT ANY INFINITY LOADER PROJECT ... - YouTube
New EASIER tutorial: https://www.youtube.com/watch?v=7MepTbdJlmUDiscord: https://gsc.dev/s/discord.
Read more >
How To Fix Cumulative Layout Shift (CLS) Issues
Basically, if you have content that you know is going to cause shifts, then one solution to avoid the shifts is to not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found