Debug to show where focus currently is?

You could override this - ideally in the parent class so you do not need to add it manually - and call a dispatcher:

image

And then:

edit: untick Top Level Only


Perhaps you could even skip the dispatcher bit and just receive a notification in onFocusReceived / Lost inside the widget. Not sure where you want that trigger - hence the suggestion to use a dispatcher.

3 Likes