Two actions on one click (one is part of variant interaction)

I’ve seen similar problems but not quite like this.

I have Variant component constructed as list of items that change state to imitate radio button list mechanic.

This list is in a mobile window that closes after click. So What I’m waiting is change of state and closing of a window. Is there workaround for something like that? Right now interaction onClick is ignored but interactions that are in variant are working.