-
Notifications
You must be signed in to change notification settings - Fork 169
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
Surprising behaviour when nesting Row in Row #31
Comments
I'm having the same issue. Currently I nest a Col in a Row and in that Col other Cols to get the nested Rows. |
A quick fix is nesting a new Grid in the row in or col.
|
Why is this a bug? Doesn’t @roffelund solution work? I actually prefer nesting grids because it friendlier to composed layouts. Nevermimd, if we can nest columns in rows and rows in columns, it makes sense to nest rows in rows. |
Hello, I have the following code. The first 3 rows are ok. Meaning that the row as 3 columns (40%, 40%, 20%) And it is but the problem is that I can't center the buttons inside the columns. as in the other rows. What am I missing? |
When nesting Row in Row, they are aligned as columns:
I assume this is due to the underlying flexbox implementation. I also assume that columns nested in columns will behave as rows. (Not verified).
So, I know you can simply specify all your rows at the same level of nesting, but what if you have a component which you know will occupy 80% height, and then inside an unrelated component, you want to specify customised Rows? Child components should not need to be aware of the parent component dimensions.
The text was updated successfully, but these errors were encountered: