diff --git a/pkg/gui/context/suggestions_context.go b/pkg/gui/context/suggestions_context.go index bbf3014f5..4be86244a 100644 --- a/pkg/gui/context/suggestions_context.go +++ b/pkg/gui/context/suggestions_context.go @@ -29,11 +29,12 @@ func NewSuggestionsContext( BasicViewModel: viewModel, ListContextTrait: &ListContextTrait{ Context: NewSimpleContext(NewBaseContext(NewBaseContextOpts{ - View: view, - WindowName: "suggestions", - Key: SUGGESTIONS_CONTEXT_KEY, - Kind: types.PERSISTENT_POPUP, - Focusable: true, + View: view, + WindowName: "suggestions", + Key: SUGGESTIONS_CONTEXT_KEY, + Kind: types.PERSISTENT_POPUP, + Focusable: true, + HasUncontrolledBounds: true, }), ContextCallbackOpts{ OnFocus: onFocus, OnFocusLost: onFocusLost, diff --git a/pkg/gui/list_context_config.go b/pkg/gui/list_context_config.go index 2b72714c5..d463c2ac5 100644 --- a/pkg/gui/list_context_config.go +++ b/pkg/gui/list_context_config.go @@ -270,7 +270,10 @@ func (gui *Gui) suggestionsListContext() *context.SuggestionsContext { }, nil, nil, - nil, + func(types.OnFocusLostOpts) error { + gui.deactivateConfirmationPrompt() + return nil + }, gui.c, ) }