-
Notifications
You must be signed in to change notification settings - Fork 61
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
Stretching #12
Comments
I changed the code with the following to add the prop "cleanGrid={true}"
This will just push a null response for the amount of rows defined so that the user can check in the render item for null and return an empty container as needed. Not sure if there is a better way of handling this but it works! |
@bradynapier nice work, I used your code. |
+1 This should work by default. Please create a pull request. |
@bradynapier Who to add the code? Would you give me the whole sources of index.js! I learn React for the first time,I don't know how to add the prop "cleanGrid={true}". |
It is currently not creating a real grid. If my grid is 2 items per row and i have 5 items, the 5th item is rendered across the entire row rather than in it's own part of the grid. This makes for an annoying effect:
The text was updated successfully, but these errors were encountered: