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

bug: Collection repeat V2 - 0 items throws error #3238

Closed
uofmmike opened this issue Mar 5, 2015 · 2 comments
Closed

bug: Collection repeat V2 - 0 items throws error #3238

uofmmike opened this issue Mar 5, 2015 · 2 comments

Comments

@uofmmike
Copy link
Contributor

uofmmike commented Mar 5, 2015

Type: bug

Platform: all

If the collection is empty, collection repeat can't calculate item heights, (as it should).

Bug:

It throws an error to the console with an empty collection:

Error: collection-repeat tried to compute the height of repeated elements "singleElement in elementGroup", but was unable to. Please provide the "item-height" attribute. 

Could just warn, or silent, if it's here for testing, all's well.

@ajoslin
Copy link
Contributor

ajoslin commented Mar 7, 2015

Thanks, I'll be sure this only happens when the data has length.

@ajoslin ajoslin self-assigned this Mar 7, 2015
@ajoslin
Copy link
Contributor

ajoslin commented Mar 7, 2015

Fixed in nightly.

@ajoslin ajoslin closed this as completed in 4325025 Mar 7, 2015
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants