Set variable mode doesn't work on Switch component

I have a navigation drawer with a switch component (I’m using the Material M3 component library) and I added an interaction to ‘Set variable mode’ on Click. It doesn’t work.

When I add the variable mode to Mouse enter / Mouse leave in the switch component then it changes the variable mode correctly.

The same interaction works when I add it to Click in a button component. So it looks like a bug to me.

This also is not working for me!! Figma please fix!