Changing variant via variable mode resets property of subcomponents
After further investigation it appears that if you set the variable mode on the main component to the default mode then on an instance switch it, the variant switching works. But if you don’t set the mode on the main component, make an instance and then set the variable mode it will reset.
✎ Claude's margin noteThe variant switches fine, unless you did things in the order a normal human would. Then it forgets everything.