Variable interaction events on component with variants

Hi there,

I’m trying to understand if it’s possible to set variable interaction events on component instances that already have interactivity in place.

For example, we have a checkbox component and all the state changes for that checkbox are controlled by variants. I then want to use an instance of that component and have it do something like set a variable value when clicked.

I’m finding that when I set a click event on an instance of a component it then breaks all of the interaction that’s set at the component level.

Am I missing something?

2 Likes

I’ve had the same issue. A workaround I’m using for now is to use a ‘Mouse down’ interaction on the instance so that the component’s ‘On click’ interaction is honoured.

2 Likes