-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
mui
Version
6.0.1
Current Behavior
When using a uiSchema like this:
{
"Sources": {
"ui:options": {
"orderable": true,
"removable": true
},
"size": 12,
"items": {
"ui:field": "LayoutGridField",
"ui:layoutGrid": {
"ui:row": {
"spacing": 2,
"children": [
{
"ui:columns": {
"size": 4,
"children": ["Type", "Owner"]
}
},
{
"ui:row": {
"spacing": 2,
"children": [ "Server", "Database", "BatchType" ]
}
}
]
}
}
}
}
}the containing grid has the size prop set to auto, causing all the items to be rendered on one row, and off of the page (overflow is set to auto as well)
Expected Behavior
I would expect some way to set the container size explicitly, otherwise there is no way to get anything to flow down.
Here is what the same form looks like when size is set to 12:
Steps To Reproduce
No response
Environment
- OS:
- Node:
- npm:Anything else?
No response