Describe the bug
@container/field-group on the field-group div is not allowing it to grow if the children overflow.
return (
< div className = "space-y-2" >
< form id = "delivery-price-form" onSubmit = { form . handleSubmit ( onSubmit ) } >
< FieldGroup className = "gap-4 grow" >
< div className = "border w-100" > test < / d i v >
{ /* <CategoryController
level={0}
control={form.control}
categories={categories}
/> */ }
< / F i e l d G r o u p >
< / form >
< div className = "flex items-center gap-2 w-full justify-between" >
< Button variant = "outline" onClick = { handleReset } disabled = { isLoading } >
< RotateCcwIcon / >
Poništi
< / B u t t o n >
< Button type = "submit" form = "delivery-price-form" disabled = { isLoading} >
{ ! isLoading ? < SaveIcon / > : < L o a d e r I c o n c l a s s N a m e = " a n i m a t e - s p i n " / > }
{ ! isLoading ? "Spremi" : "Spremam..." }
< / B u t t o n >
< / div >
< / div >
) ;
Video:
CleanShot.2026-01-07.at.22.55.27.mp4
Affected component/components
FieldGroup
How to reproduce
Create a form
Add FieldGroup
Add div with border inside FieldGroup that is very large
In dev-tools toggle the @container/field-group
Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting
Describe the bug
@container/field-groupon the field-group div is not allowing it to grow if the children overflow.Video:
CleanShot.2026-01-07.at.22.55.27.mp4
Affected component/components
FieldGroup
How to reproduce
@container/field-groupCodesandbox/StackBlitz link
No response
Logs
System Info
Before submitting