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