You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you click outside of the textfield it loses the caret but the textfield still appears to retain focus style, though it doesnt accept key entree, until you click on another interactiveobject
The text was updated successfully, but these errors were encountered:
In haxe.ui.focus.FocusManager.hx if you uncomment lines 37 and remove 41 then you can get a blur event to pass through, or at least adding a break point on 43 will work when clicking into a textfield and then clicking anywhere else.
In discussion it was decided to make sure that clicking outside and field still maintains focus. Focusout only fires when focus on another interactiveobject occurs. This appears to be more universal
Worth adding that clicking outside a focusable object that accepts text input (like textfield / textarea) on html5 has issues: the field remains visually focused (haxeui thinks its still focused), but you cant input text anymore (the browser doesnt think its focused) - this should be fixed
I have a text area that I would like to save data when the field loses focus. Its element.onblur event doesnt appear to work. So I tried
this.registerEvent(FocusEvent.FOCUS_OUT, (e) -> {
trace("Boom2");
});
When you click outside of the textfield it loses the caret but the textfield still appears to retain focus style, though it doesnt accept key entree, until you click on another interactiveobject
The text was updated successfully, but these errors were encountered: