Open bgpete opened 4 months ago
The input is what gets the focus when the widget is tabbed to. Apply a key="input" to the input, and change to focus.isFocused('input') to apply the class. Also probably need to add a focus.focus() in the onfocus handler to spur the redraw.
Bug
Radio widget does not apply the "focused" class when focused.
Code
Expected behavior:
focus.isFocused('root') is true and applies the class
Actual behavior:
focus.isFocused('root') is always false because it is, indeed, the input that gets the focus.