libui-node icon indicating copy to clipboard operation
libui-node copied to clipboard

blur event for UiEntry

Open bwagner opened this issue 7 years ago • 1 comments

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.

bwagner avatar Aug 30 '18 14:08 bwagner

https://github.com/andlabs/libui/issues/349 needs to be resolved first before we can add it in libui-node.

mischnic avatar Aug 30 '18 17:08 mischnic