YetAnotherConfigLib

YetAnotherConfigLib

13M Downloads

Text fields do not properly unfocus when using keyboard navigation

Crendgrim opened this issue ยท 1 comments

commented

This behaviour applies to String as well as numeric controllers. Tested using 3.0.0-beta.2.

The first time a text field is selected, it gains focus like expected. However, moving out of it with arrow up/down does not make it lose focus. After re-focusing it once, it then does lose its focus on subsequent moves using the keyboard.

I investigated a bit, and neither setFocus nor unfocus appear to be called on the widget on the first move. On subsequent ones, setFocus(true) is called twice for focusing, and setFocus(false) twice on unfocusing.

commented

Not a problem anymore in 3.0.1