Skip to main content
Solved

Variable interaction events on component with variants

  • July 7, 2023
  • 1 reply
  • 330 views

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?

Best answer by Daniel_Cullinan

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.

View original
This topic has been closed for replies.

Daniel_Cullinan

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings