I’ve got an icon button component which has some interactions on it, including While pressing so that I can simulate the ripple effect from material design.
I’ve nested this component in a counter component and have tried to make that interactive so that you can increment the number.
But attempting to have while pressing and click events at the same time seems to cause a conflict. It’s not flagged as a clash but my counter component doesn’t respond unless I spam click it (I imagine I’m finding a window of time where the icon button is on the original variant?)
If it’s not a bug and this kind of thing just isn’t meant to be possible it’d be nice if Figma could detect it and flag a warning like it does when you override a variant interaction