I made custom mobile onscreen Joystick. I use OnScreenControl component to emulate native screen touch when virtual stick(ui Image) dragged. All work perfectly except this:
when I disable Joystick and enable some ui buttons
buttons stop react to first click, only on second one
After investigate I found strange behaviour in the deep of OnScreenControl.OnDisable method:
The next sprint includes work that requires iOS builds so I’ll let you know if I encounter it.
Your workaround looks good too. If I were to use it I’d guess in my case all I’d need to include is a re-selection of the focused element as I’ve got “Deselect on Background” switched on and it is possible for the OnscreenControl to be disabled while an element should stay in focus.