Skip to content

grid-box-item width defaulting to 0 #52

Answered by llorenspujol
rbeery asked this question in Q&A
Discussion options

You must be logged in to vote

It would be nice to have a reproduction of the issue, so it can be easily identified. Said that, it seems that you are creating the grid in some HTML element that isn't already in the DOM, or if it is, it may be hidden or without any width. If that is the case, I would create the grid when the DOM node is attached or when the node is visible.

If that is not the cose or if you still struggle to make it work properly, please recreate the issue on an stack-blitz or similar, it would be easy to identify.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rbeery
Comment options

Answer selected by rbeery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants