From dcf48300e2de7890cb4603f61f04453b0250f8c5 Mon Sep 17 00:00:00 2001 From: bashbunni Date: Wed, 8 Jan 2025 09:07:41 -0800 Subject: [PATCH] fix(layout): don't set group width to window width --- group.go | 1 - 1 file changed, 1 deletion(-) diff --git a/group.go b/group.go index 19b29d5..6fc8603 100644 --- a/group.go +++ b/group.go @@ -274,7 +274,6 @@ func (g *Group) Update(msg tea.Msg) (tea.Model, tea.Cmd) { switch msg := msg.(type) { case tea.WindowSizeMsg: g.WithHeight(min(g.fullHeight(), msg.Height-helpMenuHeight)) - g.WithWidth(msg.Width) case nextFieldMsg: cmds = append(cmds, g.nextField()...) case prevFieldMsg: