-
-
Notifications
You must be signed in to change notification settings - Fork 82
Description
In this example, the "Song Name" field is focused, and I can change focus by clicking other fields in the same form, or by expanding one of the menus at the top, but simply clicking outside the window does not remove focus.
Inspecting reveals that when clicking outside the window, the top element which is checked for to clear focus is a Tooltip. When interacting with a Menu to remove the focus, the top element is that menu.
EDIT: To clarify, this seems to be mainly aesthetic. FocusManager.instance.focus becomes null so focus is FUNCTIONALLY lost, but the field does not update visually.
EDIT2: Scratch that, this does seem to be sometimes messing up focus checks, I've been trying to fix a bug where having a key bound to fullscreen would trigger when typing into a HaxeUI field and focus keeps returning null because Screen.instance.topComponent keeps returning a Tooltip (which will obviously have no focus) instead of the focused dialog.