libui-node
libui-node copied to clipboard
blur event for UiEntry
Currently, onChanged is fired for every key pressed while the cursor is in a UiEntry. However, it would be very useful to also have an onBlur event that only gets called once the user is done entering a value (by pressing TAB or ENTER). Otherwise onChanged will be fired on every keypress and cause unnecessary transactions.
https://github.com/andlabs/libui/issues/349 needs to be resolved first before we can add it in libui-node.