I tried to reproduce the issue on my side, but to no avail. Here is a runnable example
, using the web version of the Button widget, which demonstrates a similar scenario - focusing another element in the click event handler.
Please let me know if I am missing something. If the problem is still persisting, could you send me a runnable example, in which it is reproducing, so I could assist you further?