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

Adding items to the grid fails #368

Closed
tquetano-r7 opened this issue Oct 13, 2016 · 3 comments
Closed

Adding items to the grid fails #368

tquetano-r7 opened this issue Oct 13, 2016 · 3 comments

Comments

@tquetano-r7
Copy link

tquetano-r7 commented Oct 13, 2016

When adding items to the grid I receive this error:

utils.js:50 Uncaught (in promise) TypeError: Cannot read property 'length' of undefined

In the synchronizeLayoutWithChildren method, in the bottom catchall scenario it is sending layout to the bottom method, however layout is not yet defined (as it is being assigned). It appears that this commit is the source, because layout was an instantiated array prior (and was therefore sending the layout in-progress with each execution), and is now leveraging React.Children.map.

@STRML
Copy link
Collaborator

STRML commented Oct 13, 2016

Thanks! This is certainly a bug, let me see what I can do.

@STRML STRML closed this as completed in d78bded Oct 13, 2016
@STRML
Copy link
Collaborator

STRML commented Oct 13, 2016

Published in 0.13.8 - thanks for the detailed report!

@tquetano-r7
Copy link
Author

16 minutes ... that's some kind of record! Thanks!

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

2 participants