Doesn’t seem related.
The onClick (or onChange) are triggered alight and my code inside is running without problem.
There is some rendering issue, seem that the click event is not propagated correctly and the GUI is not rendering the selection (till page is touched again)