robust-parenting #12

Merged
sashakoshka merged 17 commits from robust-parenting into main 2023-03-15 22:34:08 -06:00
Showing only changes of commit 639baecee5 - Show all commits

View File

@ -132,6 +132,7 @@ func (propagator *Propagator) RequestFocus (
) {
if parent, ok := propagator.core.Parent().(elements.FocusableParent); ok {
if parent.RequestFocus(propagator.core.Outer().(elements.Focusable)) {
propagator.HandleUnfocus()
propagator.focused = true
granted = true
}