Fixed issue where containers would not select themselves prperly
This commit is contained in:
parent
b15c260dfc
commit
c7bebabed5
@ -499,6 +499,7 @@ func (element *Container) childFocusRequestCallback (
|
|||||||
granted bool,
|
granted bool,
|
||||||
) {
|
) {
|
||||||
if element.onFocusRequest != nil && element.onFocusRequest() {
|
if element.onFocusRequest != nil && element.onFocusRequest() {
|
||||||
|
element.focused = true
|
||||||
element.forFocused (func (child elements.Focusable) bool {
|
element.forFocused (func (child elements.Focusable) bool {
|
||||||
child.HandleUnfocus()
|
child.HandleUnfocus()
|
||||||
return true
|
return true
|
||||||
|
Reference in New Issue
Block a user