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.
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
norunfocus
appear to be called on the widget on the first move. On subsequent ones,setFocus(true)
is called twice for focusing, andsetFocus(false)
twice on unfocusing.