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

Component not updating when infinityModel.reachedInfinity #160

Closed
andrewhavens opened this issue May 16, 2016 · 1 comment
Closed

Component not updating when infinityModel.reachedInfinity #160

andrewhavens opened this issue May 16, 2016 · 1 comment

Comments

@andrewhavens
Copy link

I'm continuing to see my loading spinner even on results when there is only one page. I have confirmed that infinityModel.reachedInfinity is true after the results of fetching the first page, however, it doesn't seem like the computed properties on the component are being updated. I don't have a lot of experience with Ember, so I'm not sure where to look to figure out why the component is not being notified of the change.

@andrewhavens
Copy link
Author

Ugh. 🤦 The reason for this was incredibly simple...my template did not properly name infinityModel in camelCase. Instead, I had this:

{{my-scroller infinitymodel=model}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant