Skip to main content
Berlinguette_David
New Participant
May 20, 2024 6:13 PM UTC

Click Interaction from Multiple Levels

What I’d like to do:
Have a base level variant component, for example a checkbox with an on and off state.
Have an upper (instance) level component that includes several instances of that base level component, ie.: a list of checkboxes, each of which can be clicked to change their own on and off state.

In addition, I’d like to have a variable state associated with each of those individual instances, and be able to change that variable based on clicking that instance. For example: clicking on the instance increments (or decreases) the “total clicked” variable value to itself plus (or minus) one.

Because a click interaction is set on both the base-level, and the instance-level, the instance level will override the base, and both cannot be triggered.

Would love to have a future release that allows same interaction with different outcomes at different levels of the same component.

2 replies

Figmate
May 22, 2024 1:27 AM UTC

Hi @Berlinguette_David, Thanks for sharing your thought about interaction! We are excited to see the community’s reaction.

We use votes to gauge interest and prioritize ideas, so ​​please remember to vote for your idea. To all community members, please show your support for this idea by voting or commenting.

We appreciate your valuable input!

May 22, 2024 3:20 AM UTC

It would really be a nice feature to have!