From c7bebabed505bd1bb1df04591e9ee3e23f9375fe Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Thu, 9 Feb 2023 14:25:55 -0500 Subject: [PATCH] Fixed issue where containers would not select themselves prperly --- elements/basic/container.go | 1 + 1 file changed, 1 insertion(+) diff --git a/elements/basic/container.go b/elements/basic/container.go index 542dfed..5697f8c 100644 --- a/elements/basic/container.go +++ b/elements/basic/container.go @@ -499,6 +499,7 @@ func (element *Container) childFocusRequestCallback ( granted bool, ) { if element.onFocusRequest != nil && element.onFocusRequest() { + element.focused = true element.forFocused (func (child elements.Focusable) bool { child.HandleUnfocus() return true